summaryrefslogtreecommitdiffstats
path: root/libconfig
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2010-04-06 10:37:00 -0400
committerBrian Cully <github.20.shmit@spamgourmet.com>2010-04-06 10:37:00 -0400
commit08419f9291c06747e01ede3d8de349bdbded6e1c (patch)
tree49fca67ead8030999cc5507fd5f870c1cb8b82bb /libconfig
parent49e0bdf6139f9eff9e416422c081b5351ede8bb6 (diff)
downloadnastd-08419f9291c06747e01ede3d8de349bdbded6e1c.tar.gz
nastd-08419f9291c06747e01ede3d8de349bdbded6e1c.zip
Turn off ObjC 2 on Darwin.
Diffstat (limited to 'libconfig')
-rw-r--r--libconfig/BuffIO.h2
-rw-r--r--libconfig/Data.h2
-rw-r--r--libconfig/String.h2
3 files changed, 6 insertions, 0 deletions
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 <Object.h>
#include <sys/types.h>
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 <Object.h>
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 <Object.h>
@interface String: Object