Commit cc927f36 authored by hybrid's avatar hybrid

Fix method names of localtime for old MSVC versions.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3427 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 2e5f0eeb
......@@ -15,7 +15,9 @@
#include <stdlib.h>
#define bswap_16(X) _byteswap_ushort(X)
#define bswap_32(X) _byteswap_ulong(X)
#if (_MSC_VER >= 1400)
#define localtime _localtime_s
#endif
#elif defined(_IRR_OSX_PLATFORM_)
#include <libkern/OSByteOrder.h>
#define bswap_16(X) OSReadSwapInt16(&X,0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment