소스 검색

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