diff options
Diffstat (limited to 'databases/iodbc/patches/patch-aa')
-rw-r--r-- | databases/iodbc/patches/patch-aa | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/databases/iodbc/patches/patch-aa b/databases/iodbc/patches/patch-aa index 792690cc8e8..7a0437e683e 100644 --- a/databases/iodbc/patches/patch-aa +++ b/databases/iodbc/patches/patch-aa @@ -1,11 +1,11 @@ -$NetBSD: patch-aa,v 1.3 2005/12/30 21:03:59 jlam Exp $ +$NetBSD: patch-aa,v 1.4 2007/01/12 17:27:20 obache Exp $ Rip out a completely non-standard and hokey way to determine if wchar_t is a valid type. ---- include/sqltypes.h.orig 2005-10-08 07:42:02.000000000 -0400 +--- include/sqltypes.h.orig 2006-01-26 09:50:59.000000000 +0000 +++ include/sqltypes.h -@@ -388,16 +388,7 @@ SQLGUID; +@@ -393,17 +393,7 @@ SQLGUID; typedef unsigned short SQLWCHAR; #else # include <stdlib.h> @@ -14,7 +14,8 @@ is a valid type. - defined(_WCHAR_T) || \ - defined(_WCHAR_T_DEFINED) || \ - defined(_WCHAR_T_DECLARED) || \ -- defined(_BSD_WCHAR_T_DEFINED_) +- defined(_BSD_WCHAR_T_DEFINED_) || \ +- defined(_BSD_WCHAR_T_) typedef wchar_t SQLWCHAR; -# else -# error Please make sure your system supports the wchar_t type |