2
0
Эх сурвалжийг харах

Fix for emscripten build.

woollybah 10 жил өмнө
parent
commit
accf94f9bc

+ 4 - 0
blitz.mod/blitz_thread.c

@@ -3,6 +3,8 @@
 
 //#define DEBUG_THREADS
 
+#ifndef __EMSCRIPTEN__
+
 //***** Common *****
 
 int _bbNeedsLock;
@@ -444,3 +446,5 @@ int bbAtomicAdd( volatile int *p,int incr ){
 }
 
 #endif
+
+#endif // __EMSCRIPTEN__

+ 1 - 1
glmax2d.mod/glmax2d.bmx

@@ -33,7 +33,7 @@ ModuleInfo "History: Ripped out a bunch of dead code"
 ModuleInfo "History: 1.05 Release"
 ModuleInfo "History: Added checks to prevent invalid textures deletes"
 
-?Not linuxarm
+?Not opengles
 
 Import BRL.Max2D
 Import BRL.GLGraphics