summaryrefslogtreecommitdiff
path: root/databases/iodbc/patches/patch-aa
blob: 19188d503a143c359978dca35cb2d4ba418f64e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$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 */