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:
helixhorned 2012-03-01 23:36:11 +00:00
parent e5a133db8b
commit ef02682c94

View file

@ -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; }
#endif
#if defined(_MSC_VER)
// XXX: non-__compat_h_macrodef__ version?
#define strtoll _strtoi64
#endif
#ifdef __compat_h_macrodef__
# define Brand rand
# define Balloca alloca