Merge pull request #279 from yitam/sql_guid
define SQL_GUID for PECL packages
This commit is contained in:
commit
15c0573e76
|
@ -131,6 +131,11 @@ OACR_WARNING_POP
|
||||||
#include <sqlext.h>
|
#include <sqlext.h>
|
||||||
#endif // _WIN32
|
#endif // _WIN32
|
||||||
|
|
||||||
|
#if !defined(SQL_GUID)
|
||||||
|
// imported from sqlext.h
|
||||||
|
#define SQL_GUID (-11)
|
||||||
|
#endif
|
||||||
|
|
||||||
#if !defined(WC_ERR_INVALID_CHARS)
|
#if !defined(WC_ERR_INVALID_CHARS)
|
||||||
// imported from winnls.h as it isn't included by 5.3.0
|
// imported from winnls.h as it isn't included by 5.3.0
|
||||||
#define WC_ERR_INVALID_CHARS 0x00000080 // error for invalid chars
|
#define WC_ERR_INVALID_CHARS 0x00000080 // error for invalid chars
|
||||||
|
|
|
@ -95,9 +95,6 @@ typedef struct _SYSTEMTIME {
|
||||||
|
|
||||||
typedef HINSTANCE HMODULE; /* HMODULEs can be used in place of HINSTANCEs */
|
typedef HINSTANCE HMODULE; /* HMODULEs can be used in place of HINSTANCEs */
|
||||||
|
|
||||||
//From sqlext.h
|
|
||||||
#define SQL_GUID (-11)
|
|
||||||
|
|
||||||
size_t mplat_wcslen( const WCHAR * );
|
size_t mplat_wcslen( const WCHAR * );
|
||||||
|
|
||||||
#endif // __linux_typedefs__
|
#endif // __linux_typedefs__
|
||||||
|
|
Loading…
Reference in a new issue