define SQL_GUID for PECL

This commit is contained in:
yitam 2017-02-06 16:55:39 -08:00
parent 451f84c416
commit 8bb8dfe399
2 changed files with 3 additions and 3 deletions

View file

@ -131,6 +131,9 @@ OACR_WARNING_POP
#include <sqlext.h>
#endif // _WIN32
//From sqlext.h, add this constant for PECL
#define SQL_GUID (-11)
#if !defined(WC_ERR_INVALID_CHARS)
// imported from winnls.h as it isn't included by 5.3.0
#define WC_ERR_INVALID_CHARS 0x00000080 // error for invalid chars

View file

@ -95,9 +95,6 @@ typedef struct _SYSTEMTIME {
typedef HINSTANCE HMODULE; /* HMODULEs can be used in place of HINSTANCEs */
//From sqlext.h
#define SQL_GUID (-11)
size_t mplat_wcslen( const WCHAR * );
#endif // __linux_typedefs__