Browse Source

Fixes win32 build.

Brucey 9 tháng trước cách đây
mục cha
commit
6e4fc9969b
1 tập tin đã thay đổi với 18 bổ sung0 xóa
  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) {