From 08419f9291c06747e01ede3d8de349bdbded6e1c Mon Sep 17 00:00:00 2001 From: Brian Cully Date: Tue, 6 Apr 2010 10:37:00 -0400 Subject: Turn off ObjC 2 on Darwin. --- libconfig/BuffIO.h | 2 ++ libconfig/Data.h | 2 ++ libconfig/String.h | 2 ++ 3 files changed, 6 insertions(+) (limited to 'libconfig') diff --git a/libconfig/BuffIO.h b/libconfig/BuffIO.h index d494301..7b5f27b 100644 --- a/libconfig/BuffIO.h +++ b/libconfig/BuffIO.h @@ -1,6 +1,8 @@ #ifndef BUFFIO_H # define BUFFIO_H +#undef __OBJC2__ /* Turn off OBJC2 on Darwin. */ + #include #include diff --git a/libconfig/Data.h b/libconfig/Data.h index 64d0beb..598a371 100644 --- a/libconfig/Data.h +++ b/libconfig/Data.h @@ -1,6 +1,8 @@ #ifndef DATA_H # define DATA_H +#undef __OBJC2__ /* Turn off OBJC2 on Darwin. */ + #include "String.h" #include diff --git a/libconfig/String.h b/libconfig/String.h index e898758..9d8b98e 100644 --- a/libconfig/String.h +++ b/libconfig/String.h @@ -1,6 +1,8 @@ #ifndef STRING_H # define STRING_H +#undef __OBJC2__ /* Turn off OBJC2 on Darwin. */ + #include @interface String: Object -- cgit v1.2.3