gaurded strsafe header
This commit is contained in:
parent
2bd81f9e54
commit
3bd848d58a
|
@ -145,11 +145,14 @@ OACR_WARNING_POP
|
|||
#include <algorithm>
|
||||
#include <limits>
|
||||
#include <cassert>
|
||||
#include <strsafe.h>
|
||||
#include <memory>
|
||||
// included for SQL Server specific constants
|
||||
#include "msodbcsql.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <strsafe.h>
|
||||
#endif // _WIN32
|
||||
|
||||
//*********************************************************************************************************************************
|
||||
// Constants and Types
|
||||
//*********************************************************************************************************************************
|
||||
|
|
|
@ -228,10 +228,11 @@ typedef windowsULongLong_t ULONGLONG;
|
|||
/* can be defined in php sources */
|
||||
#ifdef ODBCVER
|
||||
#undef ODBCVER
|
||||
#endif
|
||||
|
||||
// Build the mplat driver as an ODBC 3.8 driver, so that all of the
|
||||
// source code shared with Windows SNAC (which is ODBC 3.8) compiles.
|
||||
#define ODBCVER 0x0380
|
||||
#endif
|
||||
|
||||
|
||||
// Define this to indicate that we provide our own definitions for Windows types
|
||||
|
|
Loading…
Reference in a new issue