diff options
author | skidd13 <skidd13@openttd.org> | 2007-12-23 14:06:03 +0000 |
---|---|---|
committer | skidd13 <skidd13@openttd.org> | 2007-12-23 14:06:03 +0000 |
commit | da5d3a7b3b6aa5e4e78e3f3467f9a0aaa881cb6b (patch) | |
tree | 3b8f0bec78cdf814451905d5f96daf8fc0ba5d31 /src/core/random_func.hpp | |
parent | 451abbecb120a9a2042670a06d7a5b2494f5a93c (diff) | |
download | openttd-da5d3a7b3b6aa5e4e78e3f3467f9a0aaa881cb6b.tar.xz |
(svn r11687) -Codechange: move some defines to a better place
Diffstat (limited to 'src/core/random_func.hpp')
-rw-r--r-- | src/core/random_func.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/random_func.hpp b/src/core/random_func.hpp index a2e0ea984..607d802a8 100644 --- a/src/core/random_func.hpp +++ b/src/core/random_func.hpp @@ -5,6 +5,11 @@ #ifndef RANDOM_FUNC_HPP #define RANDOM_FUNC_HPP +#if defined(__APPLE__) + /* Apple already has Random declared */ + #define Random OTTD_Random +#endif /* __APPLE__ */ + /************** * Warning: DO NOT enable this unless you understand what it does * |