summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorErik de Castro Lopo <erikd@mega-nerd.com>2016-01-04 10:28:49 +1100
committerErik de Castro Lopo <erikd@mega-nerd.com>2016-01-04 10:31:18 +1100
commit0a0e5363ad015e6d33cf6a9598a6b79686e1f663 (patch)
tree019a0cb33f8b76073541139202a39d9c0dcdd81e /include
parentee06cabba519a7291639fac4dda26253af41aeac (diff)
downloadflac-0a0e5363ad015e6d33cf6a9598a6b79686e1f663.tar.gz
libFLAC: Tweak MSVC support
Visual Studio 2013 and newer has better support for C99. Patch-from: lvqcl <lvqcl.mail@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/share/compat.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/share/compat.h b/include/share/compat.h
index 671b1107..faf96887 100644
--- a/include/share/compat.h
+++ b/include/share/compat.h
@@ -117,7 +117,9 @@
#endif
#if defined _MSC_VER
-# if _MSC_VER >= 1600
+# if _MSC_VER >= 1800
+# include <inttypes.h>
+# elif _MSC_VER >= 1600
/* Visual Studio 2010 has decent C99 support */
# include <stdint.h>
# define PRIu64 "llu"