WIN32 is no longer defined on Windows builds
authorSam Lantinga <slouken@libsdl.org>
Tue, 14 Mar 2006 17:33:33 +0000
changeset 15365151662ab728
parent 1535 ba2e91b27a37
child 1537 60620d71e324
WIN32 is no longer defined on Windows builds
src/video/SDL_sysvideo.h
     1.1 --- a/src/video/SDL_sysvideo.h	Tue Mar 14 17:21:49 2006 +0000
     1.2 +++ b/src/video/SDL_sysvideo.h	Tue Mar 14 17:33:33 2006 +0000
     1.3 @@ -173,18 +173,18 @@
     1.4  	/* Retrieves the address of a function in the gl library */
     1.5  	void* (*GL_GetProcAddress)(_THIS, const char *proc);
     1.6  
     1.7 -        /* Get attribute information from the windowing system. */
     1.8 -        int (*GL_GetAttribute)(_THIS, SDL_GLattr attrib, int* value);
     1.9 +	/* Get attribute information from the windowing system. */
    1.10 +	int (*GL_GetAttribute)(_THIS, SDL_GLattr attrib, int* value);
    1.11  
    1.12 -        /* Make the context associated with this driver current */
    1.13 -        int (*GL_MakeCurrent)(_THIS);
    1.14 +	/* Make the context associated with this driver current */
    1.15 +	int (*GL_MakeCurrent)(_THIS);
    1.16  
    1.17  	/* Swap the current buffers in double buffer mode. */
    1.18  	void (*GL_SwapBuffers)(_THIS);
    1.19  
    1.20    	/* OpenGL functions for SDL_OPENGLBLIT */
    1.21  #if SDL_VIDEO_OPENGL
    1.22 -#ifndef WIN32
    1.23 +#if !defined(__WIN32__)
    1.24  #define WINAPI
    1.25  #endif
    1.26  #define SDL_PROC(ret,func,params) ret (WINAPI *func) params;