summaryrefslogtreecommitdiff
path: root/patches/patch-Source_WTF_wtf_DisallowCType_h
blob: b264a4fa3ef9cd6de8445f8546c801d236000b7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$OpenBSD: patch-Source_WTF_wtf_DisallowCType_h,v 1.2 2014/03/25 06:25:45 landry Exp $
just, wtf.
error:
'isspace_WTF_Please_use_ASCIICType_instead_of_ctype_see_comment_in_ASCIICType_h' 
was not declared in this scope
--- Source/WTF/wtf/DisallowCType.h.orig	Thu Jan 23 17:49:58 2014
+++ Source/WTF/wtf/DisallowCType.h	Fri Feb 14 22:53:44 2014
@@ -41,7 +41,7 @@
 // or <glib/gi18n-lib.h>, which in turn include <xlocale/_ctype.h> which uses
 // isacii(). 
 #include <wtf/Platform.h>
-#if !(OS(DARWIN) && PLATFORM(GTK)) && !PLATFORM(EFL) && !defined(_LIBCPP_VERSION)
+#if !((OS(OPENBSD) || OS(DARWIN)) && PLATFORM(GTK)) && !PLATFORM(EFL) && !defined(_LIBCPP_VERSION)
 
 #include <ctype.h>