--- a/project_files/hwc/rtl/fpcrtl.h Tue Nov 13 23:39:49 2012 +0100
+++ b/project_files/hwc/rtl/fpcrtl.h Tue Nov 13 23:56:50 2012 +0100
@@ -14,6 +14,9 @@
#include "pmath.h"
#ifndef EMSCRIPTEN
+#if __APPLE__
+#define main SDL_main
+#endif
#include "GL/glew.h"
#endif