summaryrefslogtreecommitdiff
path: root/3rdparty/msinttypes
diff options
context:
space:
mode:
authorflaviojs <flaviojs@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-09-08 19:47:26 +0000
committerflaviojs <flaviojs@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-09-08 19:47:26 +0000
commit6fc804e12ad7db569e82229cc11a361066cec682 (patch)
treeddfdf820c20e373e6666b6ae4428099702b47744 /3rdparty/msinttypes
parent49a1de65bf592bbfe194a06b2b4c41f9865ea8b3 (diff)
downloadhercules-6fc804e12ad7db569e82229cc11a361066cec682.tar.gz
hercules-6fc804e12ad7db569e82229cc11a361066cec682.tar.bz2
hercules-6fc804e12ad7db569e82229cc11a361066cec682.tar.xz
hercules-6fc804e12ad7db569e82229cc11a361066cec682.zip
* Fix C++ compilation issues.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14955 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to '3rdparty/msinttypes')
-rw-r--r--3rdparty/msinttypes/include/stdint.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/3rdparty/msinttypes/include/stdint.h b/3rdparty/msinttypes/include/stdint.h
index d02608a59..cbb023bf9 100644
--- a/3rdparty/msinttypes/include/stdint.h
+++ b/3rdparty/msinttypes/include/stdint.h
@@ -47,8 +47,12 @@
// or compiler give many errors like this:
// error C2733: second C linkage of overloaded function 'wmemchr' not allowed
#ifdef __cplusplus
+#if _MSC_VER < 1300
+extern "C++" {
+#else
extern "C" {
#endif
+#endif
# include <wchar.h>
#ifdef __cplusplus
}