mirror of
https://github.com/glfw/glfw.git
synced 2024-11-10 00:51:47 +00:00
Inclusion guard fixes.
This commit is contained in:
parent
1856251ffe
commit
f8df91d815
@ -27,8 +27,8 @@
|
||||
*
|
||||
*************************************************************************/
|
||||
|
||||
#ifndef __glfw3_h__
|
||||
#define __glfw3_h__
|
||||
#ifndef _glfw3_h_
|
||||
#define _glfw3_h_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@ -1815,5 +1815,5 @@ GLFWAPI GLFWglproc glfwGetProcAddress(const char* procname);
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __glfw3_h__ */
|
||||
#endif /* _glfw3_h_ */
|
||||
|
||||
|
@ -27,8 +27,8 @@
|
||||
*
|
||||
*************************************************************************/
|
||||
|
||||
#ifndef __glfw3_platform_h__
|
||||
#define __glfw3_platform_h__
|
||||
#ifndef _glfw3_native_h_
|
||||
#define _glfw3_native_h_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@ -136,5 +136,5 @@ GLFWAPI GLXContext glfwGetGLXContext(GLFWwindow window);
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __glfw3_platform_h__ */
|
||||
#endif /* _glfw3_native_h_ */
|
||||
|
||||
|
@ -28,8 +28,8 @@
|
||||
//
|
||||
//========================================================================
|
||||
|
||||
#ifndef _x11_glx_platform_h_
|
||||
#define _x11_glx_platform_h_
|
||||
#ifndef _glx_platform_h_
|
||||
#define _glx_platform_h_
|
||||
|
||||
#define GLX_GLXEXT_LEGACY
|
||||
#include <GL/glx.h>
|
||||
@ -119,4 +119,4 @@ typedef struct _GLFWlibraryGLX
|
||||
} _GLFWlibraryGLX;
|
||||
|
||||
|
||||
#endif // _x11_glx_platform_h_
|
||||
#endif // _glx_platform_h_
|
||||
|
@ -28,8 +28,8 @@
|
||||
//
|
||||
//========================================================================
|
||||
|
||||
#ifndef _platform_h_
|
||||
#define _platform_h_
|
||||
#ifndef _x11_platform_h_
|
||||
#define _x11_platform_h_
|
||||
|
||||
#include <unistd.h>
|
||||
#include <signal.h>
|
||||
@ -251,4 +251,4 @@ Atom _glfwWriteSelection(XSelectionRequestEvent* request);
|
||||
// Event processing
|
||||
void _glfwProcessPendingEvents(void);
|
||||
|
||||
#endif // _platform_h_
|
||||
#endif // _x11_platform_h_
|
||||
|
Loading…
Reference in New Issue
Block a user