1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-10-08 07:07:25 -04:00

Inclusion guard fixes.

This commit is contained in:
Camilla Berglund 2013-01-15 01:59:56 +01:00
parent 1856251ffe
commit f8df91d815
4 changed files with 12 additions and 12 deletions

View File

@ -27,8 +27,8 @@
* *
*************************************************************************/ *************************************************************************/
#ifndef __glfw3_h__ #ifndef _glfw3_h_
#define __glfw3_h__ #define _glfw3_h_
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
@ -1815,5 +1815,5 @@ GLFWAPI GLFWglproc glfwGetProcAddress(const char* procname);
} }
#endif #endif
#endif /* __glfw3_h__ */ #endif /* _glfw3_h_ */

View File

@ -27,8 +27,8 @@
* *
*************************************************************************/ *************************************************************************/
#ifndef __glfw3_platform_h__ #ifndef _glfw3_native_h_
#define __glfw3_platform_h__ #define _glfw3_native_h_
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
@ -136,5 +136,5 @@ GLFWAPI GLXContext glfwGetGLXContext(GLFWwindow window);
} }
#endif #endif
#endif /* __glfw3_platform_h__ */ #endif /* _glfw3_native_h_ */

View File

@ -28,8 +28,8 @@
// //
//======================================================================== //========================================================================
#ifndef _x11_glx_platform_h_ #ifndef _glx_platform_h_
#define _x11_glx_platform_h_ #define _glx_platform_h_
#define GLX_GLXEXT_LEGACY #define GLX_GLXEXT_LEGACY
#include <GL/glx.h> #include <GL/glx.h>
@ -119,4 +119,4 @@ typedef struct _GLFWlibraryGLX
} _GLFWlibraryGLX; } _GLFWlibraryGLX;
#endif // _x11_glx_platform_h_ #endif // _glx_platform_h_

View File

@ -28,8 +28,8 @@
// //
//======================================================================== //========================================================================
#ifndef _platform_h_ #ifndef _x11_platform_h_
#define _platform_h_ #define _x11_platform_h_
#include <unistd.h> #include <unistd.h>
#include <signal.h> #include <signal.h>
@ -251,4 +251,4 @@ Atom _glfwWriteSelection(XSelectionRequestEvent* request);
// Event processing // Event processing
void _glfwProcessPendingEvents(void); void _glfwProcessPendingEvents(void);
#endif // _platform_h_ #endif // _x11_platform_h_