summaryrefslogtreecommitdiff
path: root/src/os
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-07-14 17:16:32 +0000
committerrubidium <rubidium@openttd.org>2009-07-14 17:16:32 +0000
commit6f0d8acf552d13114783a495fb9860432234e43d (patch)
tree121dd77def960eda3e4c095b11f3ca0bbb842638 /src/os
parente3c7a77b4066f00f3248e390184da874bd20d7ee (diff)
downloadopenttd-6f0d8acf552d13114783a495fb9860432234e43d.tar.xz
(svn r16828) -Codechange: attempt at making OSX compile with the 10.6 SDK too; no guarantees ofcourse...
Diffstat (limited to 'src/os')
-rw-r--r--src/os/macosx/osx_stdafx.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/os/macosx/osx_stdafx.h b/src/os/macosx/osx_stdafx.h
index ee150dd8b..963783c21 100644
--- a/src/os/macosx/osx_stdafx.h
+++ b/src/os/macosx/osx_stdafx.h
@@ -5,6 +5,9 @@
#ifndef MACOS_STDAFX_H
#define MACOS_STDAFX_H
+#define __STDC_LIMIT_MACROS
+#include <stdint.h>
+
/* We need to include this first as that "depends" on the compiler's setting
* of __LP64__. So before we define __LP64__ so it can be used. */
#include <sys/cdefs.h>