Header inclusion cleanup.

This commit is contained in:
Camilla Berglund
2015-05-27 15:06:52 +02:00
parent 287e30239c
commit 38ae319bea
7 changed files with 16 additions and 27 deletions
+2 -4
View File
@@ -27,7 +27,6 @@
#ifndef _cocoa_platform_h_
#define _cocoa_platform_h_
#include <stdint.h>
#if defined(__OBJC__)
@@ -38,15 +37,14 @@ typedef void* id;
#endif
#include "posix_tls.h"
#include "iokit_joystick.h"
#if defined(_GLFW_NSGL)
#include "nsgl_context.h"
#else
#error "No supported context creation API selected"
#error "The Cocoa backend depends on NSGL platform support"
#endif
#include "iokit_joystick.h"
#define _GLFW_PLATFORM_WINDOW_STATE _GLFWwindowNS ns
#define _GLFW_PLATFORM_LIBRARY_WINDOW_STATE _GLFWlibraryNS ns
#define _GLFW_PLATFORM_LIBRARY_TIME_STATE _GLFWtimeNS ns_time