--- a/mojoshader_internal.h Thu Feb 05 12:39:19 2009 -0500
+++ b/mojoshader_internal.h Sat Feb 07 00:35:17 2009 -0500
@@ -132,11 +132,11 @@
// #define this to force app to supply an allocator, so there's no reference
// to the C runtime's malloc() and free()...
#if MOJOSHADER_FORCE_ALLOCATOR
-#define internal_malloc NULL
-#define internal_free NULL
+#define MOJOSHADER_internal_malloc NULL
+#define MOJOSHADER_internal_free NULL
#else
-static void *internal_malloc(int bytes, void *d) { return malloc(bytes); }
-static void internal_free(void *ptr, void *d) { free(ptr); }
+void *MOJOSHADER_internal_malloc(int bytes, void *d);
+void MOJOSHADER_internal_free(void *ptr, void *d);
#endif
// result modifiers.