aboutsummaryrefslogtreecommitdiff
path: root/libobjc/objc/NXConstStr.h
diff options
context:
space:
mode:
Diffstat (limited to 'libobjc/objc/NXConstStr.h')
-rw-r--r--libobjc/objc/NXConstStr.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/libobjc/objc/NXConstStr.h b/libobjc/objc/NXConstStr.h
index f87c05e..b89720e 100644
--- a/libobjc/objc/NXConstStr.h
+++ b/libobjc/objc/NXConstStr.h
@@ -1,5 +1,5 @@
/* Interface for the NXConstantString class for Objective-C.
- Copyright (C) 1995 Free Software Foundation, Inc.
+ Copyright (C) 1995, 2004 Free Software Foundation, Inc.
Contributed by Pieter J. Schoenmakers <tiggr@es.ele.tue.nl>
This file is part of GCC.
@@ -28,7 +28,11 @@ Boston, MA 02111-1307, USA. */
#ifndef __nxconstantstring_INCLUDE_GNU
#define __nxconstantstring_INCLUDE_GNU
-#include "objc/Object.h"
+#include <objc/Object.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
@interface NXConstantString: Object
{
@@ -41,4 +45,8 @@ Boston, MA 02111-1307, USA. */
@end
+#ifdef __cplusplus
+}
+#endif
+
#endif