Work around MSVC not #defining __STDC__ (all ISO C89 compliant compiles _should_ #define that macro)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4854 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
7179a24fb5
commit
b047f2c1ef
|
@ -180,6 +180,11 @@
|
|||
|
||||
#if defined(_MSC_VER)
|
||||
# define WZ_CC_MSVC
|
||||
/* All ISO C89 compliant compilers _should_ define the macro __STDC__, MSVC
|
||||
* however is known _not_ to do this, so work around that here. */
|
||||
# if !defined(__STDC__)
|
||||
# define __STDC__
|
||||
# endif
|
||||
/* Visual C++.Net issues for _MSC_VER >= 1300 */
|
||||
# if _MSC_VER >= 1300
|
||||
# define WZ_CC_MSVC_NET
|
||||
|
|
Loading…
Reference in New Issue