소스 검색

Fixes win32 build.

Brucey 9 달 전
부모
커밋
6e4fc9969b
1개의 변경된 파일18개의 추가작업 그리고 0개의 파일을 삭제
  1. 18 0
      gui.mod/glue.c

+ 18 - 0
gui.mod/glue.c

@@ -24,7 +24,25 @@
 #define RAYGUI_SUPPORT_ICONS
 #include "raygui.h"
 
+#if !defined(_WIN32)
 #include "brl.mod/blitz.mod/blitz.h"
+#else
+#include "brl.mod/blitz.mod/blitz_debug.h"
+#include "brl.mod/blitz.mod/blitz_array.h"
+
+#if defined(_WIN64)
+ typedef __int64 LONG_PTR; 
+ typedef unsigned __int64 UINT_PTR;
+#else
+ typedef long LONG_PTR;
+ typedef unsigned int UINT_PTR;
+#endif
+typedef UINT_PTR WPARAM;
+typedef LONG_PTR LPARAM;
+
+#include "brl.mod/blitz.mod/blitz_string.h"
+#endif
+
 
 int bmx_raygui_GuiTabBar(Rectangle bounds, BBArray * p, int * active) {