Skip to content

Commit

Permalink
Fixed comments at conditional compilation macros.
Browse files Browse the repository at this point in the history
  • Loading branch information
philippwiesemann committed Jun 5, 2015
1 parent c3186d5 commit fd8b7c1
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/core/windows/SDL_windows.c
Expand Up @@ -124,6 +124,6 @@ BOOL WIN_IsWindowsVistaOrGreater()
#endif
}

#endif /* __WIN32__ */
#endif /* __WIN32__ || __WINRT__ */

/* vi: set ts=4 sw=4 expandtab: */
2 changes: 1 addition & 1 deletion src/events/default_cursor.h
Expand Up @@ -110,5 +110,5 @@ static const unsigned char default_cmask[] = {
0x03, 0x00
};

#endif /* TRUE_MACINTOSH_CURSOR */
#endif /* USE_MACOS_CURSOR */
/* vi: set ts=4 sw=4 expandtab: */
4 changes: 2 additions & 2 deletions src/render/opengles/SDL_render_gles.c
Expand Up @@ -43,7 +43,7 @@ glDrawTexiOES(GLint x, GLint y, GLint z, GLint width, GLint height)
return;
}

#endif /* PANDORA */
#endif /* SDL_VIDEO_DRIVER_PANDORA */

/* OpenGL ES 1.1 renderer implementation, based on the OpenGL renderer */

Expand Down Expand Up @@ -206,7 +206,7 @@ static int GLES_LoadFunctions(GLES_RenderData * data)
do { \
data->func = SDL_GL_GetProcAddress(#func); \
} while ( 0 );
#endif /* _SDL_NOGETPROCADDR_ */
#endif /* __SDL_NOGETPROCADDR__ */

#include "SDL_glesfuncs.h"
#undef SDL_PROC
Expand Down
2 changes: 1 addition & 1 deletion src/render/opengles2/SDL_render_gles2.c
Expand Up @@ -300,7 +300,7 @@ static int GLES2_LoadFunctions(GLES2_DriverContext * data)
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
Expand Down
2 changes: 1 addition & 1 deletion src/video/SDL_blit_A.c
Expand Up @@ -580,7 +580,7 @@ BlitRGBtoRGBPixelAlphaMMX3DNOW(SDL_BlitInfo * info)
_mm_empty();
}

#endif /* __MMX__ */
#endif /* __3dNOW__ */

/* 16bpp special case for per-surface alpha=50%: blend 2 pixels in parallel */

Expand Down
2 changes: 1 addition & 1 deletion src/video/emscripten/SDL_emscriptenframebuffer.h
Expand Up @@ -27,6 +27,6 @@ extern int Emscripten_CreateWindowFramebuffer(_THIS, SDL_Window * window, Uint32
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: */
2 changes: 1 addition & 1 deletion src/video/mir/SDL_mirwindow.h
Expand Up @@ -63,7 +63,7 @@ MIR_RestoreWindow(_THIS, SDL_Window* window);
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: */

2 changes: 1 addition & 1 deletion src/video/uikit/keyinfotable.h
Expand Up @@ -169,6 +169,6 @@ static UIKitKeyInfo unicharToUIKeyInfoTable[] = {
/* 127 */{ SDL_SCANCODE_BACKSPACE, KMOD_SHIFT }
};

#endif /* UIKitKeyInfo */
#endif /* _UIKIT_KeyInfo */

/* vi: set ts=4 sw=4 expandtab: */
2 changes: 1 addition & 1 deletion src/video/winrt/SDL_winrtmouse_c.h
Expand Up @@ -35,6 +35,6 @@ extern SDL_bool WINRT_UsingRelativeMouseMode;
}
#endif

#endif /* _SDL_windowsmouse_h */
#endif /* _SDL_winrtmouse_h */

/* vi: set ts=4 sw=4 expandtab: */

0 comments on commit fd8b7c1

Please sign in to comment.