diff options
author | Haru <haru@dotalux.com> | 2015-08-10 10:36:09 -0700 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2015-08-10 19:42:54 +0200 |
commit | 5ad96bcc2af2a5a76348fca87e52a0f038461808 (patch) | |
tree | 46a209c636d2139249d123a8cae7e7f44d1c1838 /src/common/cbasetypes.h | |
parent | ad6e02cc4cd1e3bd079888b1de847788e95e4c3b (diff) | |
download | hercules-5ad96bcc2af2a5a76348fca87e52a0f038461808.tar.gz hercules-5ad96bcc2af2a5a76348fca87e52a0f038461808.tar.bz2 hercules-5ad96bcc2af2a5a76348fca87e52a0f038461808.tar.xz hercules-5ad96bcc2af2a5a76348fca87e52a0f038461808.zip |
Added support for visual Studio 2015
Please report any issues
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/common/cbasetypes.h')
-rw-r--r-- | src/common/cbasetypes.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/cbasetypes.h b/src/common/cbasetypes.h index ce8fc6bcf..575428f96 100644 --- a/src/common/cbasetypes.h +++ b/src/common/cbasetypes.h @@ -240,7 +240,9 @@ typedef uintptr_t uintptr; #define strcasecmp stricmp #define strncasecmp strnicmp #define strncmpi strnicmp +#if defined(__BORLANDC__) || _MSC_VER < 1900 #define snprintf _snprintf +#endif #if defined(_MSC_VER) && _MSC_VER < 1400 #define vsnprintf _vsnprintf #endif |