]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
hpux.h (TARGET_OS_CPP_BUILTINS): Define _ILP32 when compiling in ILP32 mode.
authorRoger Sayle <roger@eyesopen.com>
Sun, 21 Dec 2003 23:35:42 +0000 (23:35 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Sun, 21 Dec 2003 23:35:42 +0000 (23:35 +0000)
* config/ia64/hpux.h (TARGET_OS_CPP_BUILTINS): Define _ILP32
when compiling in ILP32 mode.

From-SVN: r74919

gcc/ChangeLog
gcc/config/ia64/hpux.h

index 57c16f5436c93e6070d0a431807fee7b92d9031d..1e7cee20b7055dc4b348f6ca29922f9a6e370f8b 100644 (file)
@@ -1,3 +1,8 @@
+2003-12-21  Roger Sayle  <roger@eyesopen.com>
+
+       * config/ia64/hpux.h (TARGET_OS_CPP_BUILTINS): Define _ILP32
+       when compiling in ILP32 mode.
+
 2003-12-21  Gabriel Dos Reis <gdr@integrable-solutions.net>    
 
     Backport from mainline:    
index 548ed01856789516ddc8d1c8cea6da23a4346338..ab41f458f417af4d295cf2290aaa9b5c22126aeb 100644 (file)
@@ -47,6 +47,8 @@ do {                                                  \
            builtin_define("_HPUX_SOURCE");             \
            builtin_define("__STDC_EXT__");             \
          }                                             \
+       if (TARGET_ILP32)                               \
+         builtin_define("_ILP32");                     \
 } while (0)
 
 #undef CPP_SPEC