Browse Source

sokol_glue.h: fix the sokol_app.h include check

Andre Weissflog 1 năm trước cách đây
mục cha
commit
b72f74ab34
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      sokol_glue.h

+ 3 - 3
sokol_glue.h

@@ -116,12 +116,12 @@ SOKOL_GLUE_API_DECL sg_swapchain sglue_swapchain(void);
 #define SOKOL_GLUE_IMPL_INCLUDED (1)
 #define SOKOL_GLUE_IMPL_INCLUDED (1)
 #include <string.h> /* memset */
 #include <string.h> /* memset */
 
 
-#ifndef SOKOL_APP_IMPL_INCLUDED
-#error "Please include the sokol_app.h implementation before the sokol_glue.h implementation"
+#ifndef SOKOL_APP_INCLUDED
+#error "Please include sokol_app.h before the sokol_glue.h implementation"
 #endif
 #endif
 
 
 #ifndef SOKOL_API_IMPL
 #ifndef SOKOL_API_IMPL
-    #define SOKOL_API_IMPL
+#define SOKOL_API_IMPL
 #endif
 #endif