src/core/random_func.hpp
changeset 8622 b917f0b0dd6b
parent 8463 3920ac0ab803
child 8638 d997e3a75b36
equal deleted inserted replaced
8621:3dbd7d9a3c6f 8622:b917f0b0dd6b
     2 
     2 
     3 /** @file random_func.h */
     3 /** @file random_func.h */
     4 
     4 
     5 #ifndef RANDOM_FUNC_HPP
     5 #ifndef RANDOM_FUNC_HPP
     6 #define RANDOM_FUNC_HPP
     6 #define RANDOM_FUNC_HPP
       
     7 
       
     8 #if defined(__APPLE__)
       
     9 	/* Apple already has Random declared */
       
    10 	#define Random OTTD_Random
       
    11 #endif /* __APPLE__ */
     7 
    12 
     8 /**************
    13 /**************
     9  * Warning: DO NOT enable this unless you understand what it does
    14  * Warning: DO NOT enable this unless you understand what it does
    10  *
    15  *
    11  * If enabled, in a network game all randoms will be dumped to the
    16  * If enabled, in a network game all randoms will be dumped to the