diff options
Diffstat (limited to 'src/Make_mvc.mak')
-rw-r--r-- | src/Make_mvc.mak | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Make_mvc.mak b/src/Make_mvc.mak index 5687f0999..b1a643c42 100644 --- a/src/Make_mvc.mak +++ b/src/Make_mvc.mak @@ -501,6 +501,11 @@ OPTFLAG = $(OPTFLAG) /GL CFLAGS=$(CFLAGS) $(WP64CHECK) !endif +# VC10 or later has stdint.h. +!if $(MSVC_MAJOR) >= 10 +CFLAGS = $(CFLAGS) -DHAVE_STDINT_H +!endif + # Static code analysis generally available starting with VS2012 (VC11) or # Windows SDK 7.1 (VC10) !if ("$(ANALYZE)" == "yes") && ($(MSVC_MAJOR) >= 10) |