mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
Define strtoll to _strtoi64 on MSVC.
Usage of a search machine by Hendricks. git-svn-id: https://svn.eduke32.com/eduke32@2394 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
e5a133db8b
commit
ef02682c94
1 changed files with 5 additions and 0 deletions
|
@ -431,6 +431,11 @@ static inline uint16_t system_15bit_rand(void) { return (uint16_t)rand(); }
|
||||||
static inline uint16_t system_15bit_rand(void) { return ((uint16_t)rand())&0x7fff; }
|
static inline uint16_t system_15bit_rand(void) { return ((uint16_t)rand())&0x7fff; }
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(_MSC_VER)
|
||||||
|
// XXX: non-__compat_h_macrodef__ version?
|
||||||
|
#define strtoll _strtoi64
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __compat_h_macrodef__
|
#ifdef __compat_h_macrodef__
|
||||||
# define Brand rand
|
# define Brand rand
|
||||||
# define Balloca alloca
|
# define Balloca alloca
|
||||||
|
|
Loading…
Reference in a new issue