hpux.h (TARGET_OS_CPP_BUILTINS): Define _ILP32 when compiling in ILP32 mode.
authorRoger Sayle <roger@eyesopen.com>
Sun, 21 Dec 2003 23:23:54 +0000 (23:23 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Sun, 21 Dec 2003 23:23:54 +0000 (23:23 +0000)
* config/ia64/hpux.h (TARGET_OS_CPP_BUILTINS): Define _ILP32
when compiling in ILP32 mode.

From-SVN: r74918

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

index e5480de0c25bc19c331b5a1421dd75371ffd33ab..cc719b383f0debb47a8ce4593b3dc916e226ad5b 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  Andrew Pinski  <pinskia@physics.uc.edu>
 
        * config/rs6000/rs6000.c (rs6000_tls_referenced_p): Return early if
index 7ed5f605590e0c9b7b286b3435e044ec3340df72..1bd02c35d730b4fb3f3e8ed55d8aff529c232c3e 100644 (file)
@@ -45,6 +45,8 @@ do {                                                  \
            builtin_define("_HPUX_SOURCE");             \
            builtin_define("__STDC_EXT__");             \
          }                                             \
+       if (TARGET_ILP32)                               \
+         builtin_define("_ILP32");                     \
 } while (0)
 
 #undef CPP_SPEC