forked from mirror/OpenTTD
(svn r16828) -Codechange: attempt at making OSX compile with the 10.6 SDK too; no guarantees ofcourse...
This commit is contained in:
@@ -22,11 +22,10 @@
|
||||
/* It seems that we need to include stdint.h before anything else
|
||||
* We need INT64_MAX, which for most systems comes from stdint.h. However, MSVC
|
||||
* does not have stdint.h and apparently neither does MorphOS, so define
|
||||
* INT64_MAX for them ourselves.
|
||||
* Sometimes OSX headers manages to include stdint.h before this but without
|
||||
* __STDC_LIMIT_MACROS so it will be without INT64_*. We need to define those
|
||||
* too if this is the case. */
|
||||
#if !defined(_MSC_VER) && !defined( __MORPHOS__) && !defined(_STDINT_H_)
|
||||
* INT64_MAX for them ourselves. */
|
||||
#if defined(__APPLE__)
|
||||
/* Already done in osx_stdafx.h */
|
||||
#elif !defined(_MSC_VER) && !defined( __MORPHOS__) && !defined(_STDINT_H_)
|
||||
#if defined(SUNOS)
|
||||
/* SunOS/Solaris does not have stdint.h, but inttypes.h defines everything
|
||||
* stdint.h defines and we need. */
|
||||
|
Reference in New Issue
Block a user