mojoshader_common.c
changeset 1237 da180fe5b4b7
parent 1236 e2b62a9dde46
child 1239 98ccda2125b1
--- a/mojoshader_common.c	Wed Apr 01 17:11:09 2020 -0400
+++ b/mojoshader_common.c	Wed Apr 01 17:12:48 2020 -0400
@@ -1,6 +1,8 @@
 #define __MOJOSHADER_INTERNAL__ 1
 #include "mojoshader_internal.h"
+#ifndef MOJOSHADER_USE_SDL_STDLIB
 #include <math.h>
+#endif /* MOJOSHADER_USE_SDL_STDLIB */
 
 // Convenience functions for allocators...
 #if !MOJOSHADER_FORCE_ALLOCATOR