summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorApology11 <apology11@gmail.com>2015-07-12 13:12:14 +0200
committerApology11 <apology11@gmail.com>2015-07-12 13:12:14 +0200
commitaf18572491ba630e24f5c7dacf0d2d5a08929a6a (patch)
tree2159e768117b8fa8c1deba059a0ed7efd888cc08 /src
parentMerge pull request #823 from Subv/applets_drawing (diff)
downloadyuzu-af18572491ba630e24f5c7dacf0d2d5a08929a6a.tar
yuzu-af18572491ba630e24f5c7dacf0d2d5a08929a6a.tar.gz
yuzu-af18572491ba630e24f5c7dacf0d2d5a08929a6a.tar.bz2
yuzu-af18572491ba630e24f5c7dacf0d2d5a08929a6a.tar.lz
yuzu-af18572491ba630e24f5c7dacf0d2d5a08929a6a.tar.xz
yuzu-af18572491ba630e24f5c7dacf0d2d5a08929a6a.tar.zst
yuzu-af18572491ba630e24f5c7dacf0d2d5a08929a6a.zip
Diffstat (limited to 'src')
-rw-r--r--src/common/common_funcs.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/common/common_funcs.h b/src/common/common_funcs.h
index c4fb3d9cc..59bd16dbf 100644
--- a/src/common/common_funcs.h
+++ b/src/common/common_funcs.h
@@ -69,8 +69,10 @@ inline u64 _rotr64(u64 x, unsigned int shift){
}
#else // _MSC_VER
- // Function Cross-Compatibility
- #define snprintf _snprintf
+ #if (_MSC_VER < 1900)
+ // Function Cross-Compatibility
+ #define snprintf _snprintf
+ #endif
// Locale Cross-Compatibility
#define locale_t _locale_t