summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2015-07-13 00:02:11 +0200
committerYuri Kunde Schlesner <yuriks@yuriks.net>2015-07-13 00:02:11 +0200
commitc4e11519afb8c51b591b88f6bfa531b04d15d588 (patch)
tree05a804cea4cb12b53749cf294d7bf409de53a354 /src
parentMerge pull request #921 from linkmauve/fix-applet (diff)
parentdon´t define snprintf on Visual Studio 2015 (diff)
downloadyuzu-c4e11519afb8c51b591b88f6bfa531b04d15d588.tar
yuzu-c4e11519afb8c51b591b88f6bfa531b04d15d588.tar.gz
yuzu-c4e11519afb8c51b591b88f6bfa531b04d15d588.tar.bz2
yuzu-c4e11519afb8c51b591b88f6bfa531b04d15d588.tar.lz
yuzu-c4e11519afb8c51b591b88f6bfa531b04d15d588.tar.xz
yuzu-c4e11519afb8c51b591b88f6bfa531b04d15d588.tar.zst
yuzu-c4e11519afb8c51b591b88f6bfa531b04d15d588.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