aboutsummaryrefslogtreecommitdiff
path: root/libobjc/objc/objc-api.h
diff options
context:
space:
mode:
authorNicola Pero <nicola.pero@meta-innovation.com>2010-09-17 16:35:15 +0000
committerNicola Pero <nicola@gcc.gnu.org>2010-09-17 16:35:15 +0000
commit5be9cdc112d455a0799a2440b1a52e2b0d23da82 (patch)
tree7c97648ea44e24d40bac796f8c61ad41803b5b07 /libobjc/objc/objc-api.h
parent0982fd6497be2ef3879b60443b657efad1966835 (diff)
downloadgcc-5be9cdc112d455a0799a2440b1a52e2b0d23da82.zip
gcc-5be9cdc112d455a0799a2440b1a52e2b0d23da82.tar.gz
gcc-5be9cdc112d455a0799a2440b1a52e2b0d23da82.tar.bz2
In libobjc/:
* objc/hash.h: Moved into objc/deprecated/hash.h; objc/hash.h replaced with a placeholder including the file from the deprecated/ directory. * objc/objc-api.h: Updated includes. * objc/typedstream.h: Updated includes. * objc-private/hash.h: New file (private copy of hash.h). * objc/objc-list.h: Moved into objc/deprecated/objc-list.h; objc/objc-list.h replaced with a placeholder including the file from the deprecated/ directory. * objc-private/objc-list.h: New file (private copy of objc-list.h). * init.c: Include objc-private/hash.h and objc-private/objc-list.h instead of objc/hash.h and objc/objc-list.h. * selector.c: Same change. * class.c: Added include <string.h>, which used to be implicitly included when hash.h was included. * exception.c: Same change. * objects.c: Same change. * sarray.c: Same change. * sendmsg.c: Same change. * Makefile.in (OBJC_DEPRECATED_H): Added hash.h and objc-list.h. (OBJC_H): Removed hash.h and objc-list.h From-SVN: r164373
Diffstat (limited to 'libobjc/objc/objc-api.h')
-rw-r--r--libobjc/objc/objc-api.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libobjc/objc/objc-api.h b/libobjc/objc/objc-api.h
index 9fff9e1..524515a 100644
--- a/libobjc/objc/objc-api.h
+++ b/libobjc/objc/objc-api.h
@@ -28,7 +28,9 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#define __objc_api_INCLUDE_GNU
#include "objc.h"
-#include "hash.h"
+#ifndef GNU_LIBOBJC_COMPILING_LIBOBJC_ITSELF
+# include "deprecated/hash.h"
+#endif
#include "thr.h"
#include "objc-decls.h"
#include <stdio.h>