summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/zlib/zutil.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty/zlib/zutil.h')
-rw-r--r--src/3rdparty/zlib/zutil.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/3rdparty/zlib/zutil.h b/src/3rdparty/zlib/zutil.h
index b7d5eff..3ecb1bb 100644
--- a/src/3rdparty/zlib/zutil.h
+++ b/src/3rdparty/zlib/zutil.h
@@ -21,7 +21,12 @@
# include <stddef.h>
# endif
# include <string.h>
-# include <stdlib.h>
+// Bug in stdlib.h, see more information from fixed_stdlib.h
+#if (defined __SYMBIAN32__ && !defined __cplusplus)
+#include <fixed_stdlib.h>
+#else
+#include <stdlib.h>
+#endif // defined __SYMBIAN32__ && !defined __cplusplus
#endif
#ifdef NO_ERRNO_H
# ifdef _WIN32_WCE