Add missing define for linux and mac.
authorDr!fter <drifter01620@gmail.com>
Sat Aug 16 22:13:15 2014 -0400 (2014-08-16)
changeset 779152ece7bb0f
parent 76 852afac56c3b
child 78 0fbd4d381fae
Add missing define for linux and mac.
AMBuildScript
     1.1 --- a/AMBuildScript	Sat Aug 16 17:44:13 2014 -0400
     1.2 +++ b/AMBuildScript	Sat Aug 16 22:13:15 2014 -0400
     1.3 @@ -100,6 +100,7 @@
     1.4  					self.vendor = 'gcc'
     1.5  				elif isinstance(cxx, Cpp.Clang):
     1.6  					self.vendor = 'clang'
     1.7 +				self.compiler.AddToListVar('CDEFINES', 'POSIX')
     1.8  				self.compiler.AddToListVar('CDEFINES', 'stricmp=strcasecmp')
     1.9  				self.compiler.AddToListVar('CDEFINES', '_stricmp=strcasecmp')
    1.10  				self.compiler.AddToListVar('CDEFINES', '_snprintf=snprintf')