[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/koffice/2.0/koffice/krita/image
From: Benjamin Reed <ranger () befunk ! com>
Date: 2009-06-07 19:04:43
Message-ID: 1244401483.434252.18636.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 978643 by reed:
probably OK to just define this before stdlib.h for everyone, but wanted to play it safe :)
M +8 -2 kis_random_generator.cc
--- branches/koffice/2.0/koffice/krita/image/kis_random_generator.cc #978642:978643
@@ -20,8 +20,14 @@
*/
#include "kis_random_generator.h"
-#include <stdlib.h>
-#define __STDC_LIMIT_MACROS
+#ifdef __APPLE__
+/* Mac OS X doesn't define a number of UINT* macros without this before stdlib.h */
+# define __STDC_LIMIT_MACROS
+# include <stdlib.h>
+#else
+# include <stdlib.h>
+# define __STDC_LIMIT_MACROS
+#endif
#include <stdint.h>
#include <math.h>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic