Merge pull request #279 from yitam/sql_guid

define SQL_GUID for PECL packages
This commit is contained in:
David Puglielli 2017-02-09 15:25:27 -08:00 committed by GitHub
commit 15c0573e76
2 changed files with 5 additions and 3 deletions

View file

@ -131,6 +131,11 @@ OACR_WARNING_POP
#include <sqlext.h>
#endif // _WIN32
#if !defined(SQL_GUID)
// imported from sqlext.h
#define SQL_GUID (-11)
#endif
#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__