gigi.h (flag_vms_malloc64): Refine condition.
authorTristan Gingold <gingold@adacore.com>
Tue, 13 Mar 2012 14:44:34 +0000 (14:44 +0000)
committerTristan Gingold <gingold@gcc.gnu.org>
Tue, 13 Mar 2012 14:44:34 +0000 (14:44 +0000)
2012-03-13  Tristan Gingold  <gingold@adacore.com>

* gcc-interface/gigi.h (flag_vms_malloc64): Refine condition.

From-SVN: r185337

gcc/ada/ChangeLog
gcc/ada/gcc-interface/gigi.h

index 7eb75cd799350df4e6c6c729933db927650abcc3..fc30f6a3bfeeb1cecd917056e86cd9e98ad105d3 100644 (file)
@@ -1,3 +1,7 @@
+2012-03-13  Tristan Gingold  <gingold@adacore.com>
+
+       * gcc-interface/gigi.h (flag_vms_malloc64): Refine condition.
+
 2012-03-13  Tristan Gingold  <gingold@adacore.com>
 
        * sysdep.c: Adjust condition after removal of __osf__.
index 5b95f9c6b9859954c3241e43fc47943690096c77..8a83647bce4eb0ac7a0d89f8f023ef1585ceb228 100644 (file)
@@ -995,10 +995,12 @@ extern void enumerate_modes (void (*f) (const char *, int, int, int, int, int,
    intrusive preprocessor directives.  */
 #ifndef TARGET_ABI_OPEN_VMS
 #define TARGET_ABI_OPEN_VMS 0
+#endif
 
 /* VMS option set by default, when clear forces 32bit mallocs and 32bit
-   Descriptors. Always used in combination with TARGET_ABI_OPEN_VMS
+   Descriptors.  Always used in combination with TARGET_ABI_OPEN_VMS
    so no effect on non-VMS systems.  */
+#if TARGET_ABI_OPEN_VMS == 0
 #define flag_vms_malloc64 0
 #endif