Преглед на файлове

sokol_glue.h: fix the sokol_app.h include check

Andre Weissflog преди 1 година
родител
ревизия
b72f74ab34
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  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)
 #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
 
 #ifndef SOKOL_API_IMPL
-    #define SOKOL_API_IMPL
+#define SOKOL_API_IMPL
 #endif