summaryrefslogtreecommitdiff
path: root/patches/patch-Source_WTF_wtf_DisallowCType_h
blob: 76a6d61dbc6a3ce1895b580e9900362ebf24ba04 (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.1 2013/10/06 14:03:43 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>