Fixed comments at conditional compilation macros.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Fri, 05 Jun 2015 19:41:18 +0200
changeset 9709 cc44b8a34b2d
parent 9708 306d5eb9cb93
child 9710 38ca9a2dd2ef
Fixed comments at conditional compilation macros.
src/core/windows/SDL_windows.c
src/events/default_cursor.h
src/render/opengles/SDL_render_gles.c
src/render/opengles2/SDL_render_gles2.c
src/video/SDL_blit_A.c
src/video/emscripten/SDL_emscriptenframebuffer.h
src/video/mir/SDL_mirwindow.h
src/video/uikit/keyinfotable.h
src/video/winrt/SDL_winrtmouse_c.h
--- a/src/core/windows/SDL_windows.c	Fri Jun 05 19:40:50 2015 +0200
+++ b/src/core/windows/SDL_windows.c	Fri Jun 05 19:41:18 2015 +0200
@@ -124,6 +124,6 @@
 #endif
 }
 
-#endif /* __WIN32__ */
+#endif /* __WIN32__ || __WINRT__ */
 
 /* vi: set ts=4 sw=4 expandtab: */
--- a/src/events/default_cursor.h	Fri Jun 05 19:40:50 2015 +0200
+++ b/src/events/default_cursor.h	Fri Jun 05 19:41:18 2015 +0200
@@ -110,5 +110,5 @@
     0x03, 0x00
 };
 
-#endif /* TRUE_MACINTOSH_CURSOR */
+#endif /* USE_MACOS_CURSOR */
 /* vi: set ts=4 sw=4 expandtab: */
--- a/src/render/opengles/SDL_render_gles.c	Fri Jun 05 19:40:50 2015 +0200
+++ b/src/render/opengles/SDL_render_gles.c	Fri Jun 05 19:41:18 2015 +0200
@@ -43,7 +43,7 @@
     return;
 }
 
-#endif /* PANDORA */
+#endif /* SDL_VIDEO_DRIVER_PANDORA */
 
 /* OpenGL ES 1.1 renderer implementation, based on the OpenGL renderer */
 
@@ -206,7 +206,7 @@
     do { \
         data->func = SDL_GL_GetProcAddress(#func); \
     } while ( 0 );    
-#endif /* _SDL_NOGETPROCADDR_ */
+#endif /* __SDL_NOGETPROCADDR__ */
 
 #include "SDL_glesfuncs.h"
 #undef SDL_PROC
--- a/src/render/opengles2/SDL_render_gles2.c	Fri Jun 05 19:40:50 2015 +0200
+++ b/src/render/opengles2/SDL_render_gles2.c	Fri Jun 05 19:41:18 2015 +0200
@@ -300,7 +300,7 @@
             return SDL_SetError("Couldn't load GLES2 function %s: %s\n", #func, SDL_GetError()); \
         } \
     } while ( 0 );
-#endif /* _SDL_NOGETPROCADDR_ */
+#endif /* __SDL_NOGETPROCADDR__ */
 
 #include "SDL_gles2funcs.h"
 #undef SDL_PROC
--- a/src/video/SDL_blit_A.c	Fri Jun 05 19:40:50 2015 +0200
+++ b/src/video/SDL_blit_A.c	Fri Jun 05 19:41:18 2015 +0200
@@ -580,7 +580,7 @@
     _mm_empty();
 }
 
-#endif /* __MMX__ */
+#endif /* __3dNOW__ */
 
 /* 16bpp special case for per-surface alpha=50%: blend 2 pixels in parallel */
 
--- a/src/video/emscripten/SDL_emscriptenframebuffer.h	Fri Jun 05 19:40:50 2015 +0200
+++ b/src/video/emscripten/SDL_emscriptenframebuffer.h	Fri Jun 05 19:41:18 2015 +0200
@@ -27,6 +27,6 @@
 extern int Emscripten_UpdateWindowFramebuffer(_THIS, SDL_Window * window, const SDL_Rect * rects, int numrects);
 extern void Emscripten_DestroyWindowFramebuffer(_THIS, SDL_Window * window);
 
-#endif /* _SDL_emsctiptenframebuffer_h */
+#endif /* _SDL_emscriptenframebuffer_h */
 
 /* vi: set ts=4 sw=4 expandtab: */
--- a/src/video/mir/SDL_mirwindow.h	Fri Jun 05 19:40:50 2015 +0200
+++ b/src/video/mir/SDL_mirwindow.h	Fri Jun 05 19:41:18 2015 +0200
@@ -63,7 +63,7 @@
 extern SDL_bool
 MIR_GetWindowWMInfo(_THIS, SDL_Window* window, SDL_SysWMinfo* info);
 
-#endif /* _SDL_mirwindow */
+#endif /* _SDL_mirwindow_h */
 
 /* vi: set ts=4 sw=4 expandtab: */
 
--- a/src/video/uikit/keyinfotable.h	Fri Jun 05 19:40:50 2015 +0200
+++ b/src/video/uikit/keyinfotable.h	Fri Jun 05 19:41:18 2015 +0200
@@ -169,6 +169,6 @@
 /*  127 */{    SDL_SCANCODE_BACKSPACE, KMOD_SHIFT }
 };
 
-#endif /* UIKitKeyInfo */
+#endif /* _UIKIT_KeyInfo */
 
 /* vi: set ts=4 sw=4 expandtab: */
--- a/src/video/winrt/SDL_winrtmouse_c.h	Fri Jun 05 19:40:50 2015 +0200
+++ b/src/video/winrt/SDL_winrtmouse_c.h	Fri Jun 05 19:41:18 2015 +0200
@@ -35,6 +35,6 @@
 }
 #endif
 
-#endif /* _SDL_windowsmouse_h */
+#endif /* _SDL_winrtmouse_h */
 
 /* vi: set ts=4 sw=4 expandtab: */