aboutsummaryrefslogtreecommitdiffstats
path: root/src/gameCommon.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gameCommon.h')
-rw-r--r--src/gameCommon.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gameCommon.h b/src/gameCommon.h
index 1592092..78c17e4 100644
--- a/src/gameCommon.h
+++ b/src/gameCommon.h
@@ -7,10 +7,15 @@
#include <raylib.h>
#include <raymath.h>
+//#define PLATFORM_WEB
+
+#if defined(PLATFORM_WEB)
+ #include <emscripten/emscripten.h>
+#endif
+
#define WINDOW_WIDTH 1280
#define WINDOW_HEIGHT 720
-
// Memory management.
#define YP_MALLOC(size) malloc(size)
#define YP_CALLOC(nmemb, size) calloc(nmemb, size)