summaryrefslogtreecommitdiffstats
path: root/libconfig
diff options
context:
space:
mode:
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