239be4e86a
* Added support for GTK+ 2.x * Fixed long mutex lock on connect * Fixed problems with SQLBrowseConnect * Fixed missing functions in export list * Fixed core dump when checking for driver odbc version * Fixed allocation error in SQLDescribeCol * Fixed rpm specification for RedHat * Fixed porting problems on FreeBSD, OpenBSD and OSF * Use SQLFetchScroll in iodbctest
23 lines
660 B
Text
23 lines
660 B
Text
$NetBSD: patch-aa,v 1.5 2008/02/09 07:26:57 adam Exp $
|
|
|
|
--- include/sqltypes.h.orig 2007-10-07 15:44:49.000000000 +0200
|
|
+++ include/sqltypes.h
|
|
@@ -394,18 +394,7 @@ typedef unsigned short SQLWCHAR;
|
|
#else
|
|
# include <stdlib.h>
|
|
|
|
-# if defined(__cplusplus) || \
|
|
- defined(_WCHAR_T) || \
|
|
- defined(_WCHAR_T_DEFINED) || \
|
|
- defined(_WCHAR_T_DEFINED_) || \
|
|
- defined(_WCHAR_T_DECLARED) || \
|
|
- defined(_BSD_WCHAR_T_DEFINED_) || \
|
|
- defined(_BSD_WCHAR_T_) || \
|
|
- defined(_BSD_CT_RUNE_T_)
|
|
typedef wchar_t SQLWCHAR;
|
|
-# else
|
|
-# error Please make sure your system supports the wchar_t type
|
|
-# endif
|
|
#endif /* WIN32 */
|
|
|
|
|