changeset 1536:5151662ab728

WIN32 is no longer defined on Windows builds
author Sam Lantinga <slouken@libsdl.org>
date Tue, 14 Mar 2006 17:33:33 +0000
parents ba2e91b27a37
children 60620d71e324
files src/video/SDL_sysvideo.h
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/video/SDL_sysvideo.h	Tue Mar 14 17:21:49 2006 +0000
+++ b/src/video/SDL_sysvideo.h	Tue Mar 14 17:33:33 2006 +0000
@@ -173,18 +173,18 @@
 	/* Retrieves the address of a function in the gl library */
 	void* (*GL_GetProcAddress)(_THIS, const char *proc);
 
-        /* Get attribute information from the windowing system. */
-        int (*GL_GetAttribute)(_THIS, SDL_GLattr attrib, int* value);
+	/* Get attribute information from the windowing system. */
+	int (*GL_GetAttribute)(_THIS, SDL_GLattr attrib, int* value);
 
-        /* Make the context associated with this driver current */
-        int (*GL_MakeCurrent)(_THIS);
+	/* Make the context associated with this driver current */
+	int (*GL_MakeCurrent)(_THIS);
 
 	/* Swap the current buffers in double buffer mode. */
 	void (*GL_SwapBuffers)(_THIS);
 
   	/* OpenGL functions for SDL_OPENGLBLIT */
 #if SDL_VIDEO_OPENGL
-#ifndef WIN32
+#if !defined(__WIN32__)
 #define WINAPI
 #endif
 #define SDL_PROC(ret,func,params) ret (WINAPI *func) params;