Permalink
Browse files

Added __APPLE__ as one of the possible architectures that does not ha…

…ve values.h and needs to define some floatting point constants.
  • Loading branch information...
gg gg
gg authored and gg committed Jun 27, 2011
1 parent 6e52113 commit fa628f8c79f467d8292fd38929f4c4e00bab85fc
Showing with 1 addition and 1 deletion.
  1. +1 −1 platform/emulator/libfd/std.cc
@@ -30,7 +30,7 @@
#include <stdlib.h>
#include <math.h>
-#if __GLIBC__ == 2 || defined(WINDOWS) || defined(NETBSD) || defined(RHAPSODY) || defined(OPENBSD) || defined(__FreeBSD__) || defined(ANDROID)
+#if __GLIBC__ == 2 || defined(WINDOWS) || defined(NETBSD) || defined(RHAPSODY) || defined(OPENBSD) || defined(__FreeBSD__) || defined(ANDROID) || defined(__APPLE__)
/* the following have been copied from linux's values.h */
#define _DEXPLEN 11

0 comments on commit fa628f8

Please sign in to comment.