Commit a79b642638555caedb5ebe72dc5cef063b93e003

Wouter Wijsman 2021-11-29T20:05:53

Make SDL2 able to build or PSP with cmake

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/libm/math_private.h b/src/libm/math_private.h
index 0253555..4a30a52 100644
--- a/src/libm/math_private.h
+++ b/src/libm/math_private.h
@@ -27,7 +27,7 @@
 #define libm_hidden_def(x)
 #define strong_alias(x, y)
 
-#ifndef __HAIKU__ /* already defined in a system header. */
+#if !defined(__HAIKU__) && !defined(__PSP__) /* already defined in a system header. */
 typedef unsigned int u_int32_t;
 #endif