summaryrefslogtreecommitdiffstats
path: root/contrib/gcc
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2014-01-05 00:32:38 +0000
committerpfg <pfg@FreeBSD.org>2014-01-05 00:32:38 +0000
commitc5e9a8143da358a2c480a64c9782d5eedda3b002 (patch)
tree41352df67b0bde40419570461e43784752e49325 /contrib/gcc
parent8da5238e28e25a3d2976ca05168766d942eaf703 (diff)
downloadFreeBSD-src-c5e9a8143da358a2c480a64c9782d5eedda3b002.zip
FreeBSD-src-c5e9a8143da358a2c480a64c9782d5eedda3b002.tar.gz
libcpp: misc fixes from Apple's GCC.
Fixes some bugs detected by Apple: #error with unmatched quotes pragma mark Obtained from: Apple GCC 4.2 - 5553 MFC after: 1 week
Diffstat (limited to 'contrib/gcc')
-rw-r--r--contrib/gcc/config/darwin.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/gcc/config/darwin.h b/contrib/gcc/config/darwin.h
index e732217..4164e68 100644
--- a/contrib/gcc/config/darwin.h
+++ b/contrib/gcc/config/darwin.h
@@ -873,7 +873,9 @@ enum machopic_addr_class {
#define DARWIN_REGISTER_TARGET_PRAGMAS() \
do { \
- c_register_pragma (0, "mark", darwin_pragma_ignore); \
+ /* APPLE LOCAL begin pragma mark 5614511 */ \
+ /* Removed mark. */ \
+ /* APPLE LOCAL end pragma mark 5614511 */ \
c_register_pragma (0, "options", darwin_pragma_options); \
c_register_pragma (0, "segment", darwin_pragma_ignore); \
c_register_pragma (0, "unused", darwin_pragma_unused); \
OpenPOWER on IntegriCloud