Need extra include if UNICODE is defines
This commit is contained in:
parent
5e9eb0b7fd
commit
944b412fe6
|
@ -23,6 +23,9 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
#pragma warning( disable : 4995 )
|
||||||
|
#endif
|
||||||
// Module: sprtf.cxx
|
// Module: sprtf.cxx
|
||||||
// Debug log file output
|
// Debug log file output
|
||||||
#include <stdio.h> // fopen()...
|
#include <stdio.h> // fopen()...
|
||||||
|
@ -31,6 +34,9 @@
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#include <WinSock2.h>
|
#include <WinSock2.h>
|
||||||
#include <sys/timeb.h>
|
#include <sys/timeb.h>
|
||||||
|
#if (defined(UNICODE) || defined(_UNICODE))
|
||||||
|
#include <Strsafe.h>
|
||||||
|
#endif
|
||||||
#else /* !_MSC_VER */
|
#else /* !_MSC_VER */
|
||||||
#include <sys/time.h> // gettimeoday(), struct timeval,...
|
#include <sys/time.h> // gettimeoday(), struct timeval,...
|
||||||
#endif /* _MSC_VER y/n */
|
#endif /* _MSC_VER y/n */
|
||||||
|
|
Loading…
Reference in a new issue