diff options
author | Mike Stump <mrs@apple.com> | 2004-10-28 21:44:31 +0000 |
---|---|---|
committer | Mike Stump <mrs@gcc.gnu.org> | 2004-10-28 21:44:31 +0000 |
commit | 31eec874a142a408e278a62a7de6639f490ce87c (patch) | |
tree | e4b0af2758cfd91ac035ebbd6d861c46ddb6004a /fixincludes/inclhack.def | |
parent | 14df5747394ff436ba13ebd39c2742c40fc45eb8 (diff) | |
download | gcc-31eec874a142a408e278a62a7de6639f490ce87c.zip gcc-31eec874a142a408e278a62a7de6639f490ce87c.tar.gz gcc-31eec874a142a408e278a62a7de6639f490ce87c.tar.bz2 |
inclhack.def: Avoid changing NULL on C++ friendly systems.
* inclhack.def: Avoid changing NULL on C++ friendly systems.
* fixincl.x: Regenerate.
From-SVN: r89786
Diffstat (limited to 'fixincludes/inclhack.def')
-rw-r--r-- | fixincludes/inclhack.def | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fixincludes/inclhack.def b/fixincludes/inclhack.def index 00c5ae6..084594c 100644 --- a/fixincludes/inclhack.def +++ b/fixincludes/inclhack.def @@ -3963,6 +3963,8 @@ fix = { files = sys/dir.h; files = sys/param.h; files = sys/types.h; + /* avoid changing C++ friendly NULL */ + bypass = __cplusplus; select = "^#[ \t]*define[ \t]+NULL[ \t]+\\(\\(void[ \t]*\\*\\)0\\)"; c_fix = format; c_fix_arg = "#define NULL 0"; |