view patches/icedtea-stdc-limit-macros.patch @ 2147:015d29e3b82a

PR632: 6878713.patch breaks shark zero build 2011-02-16 Xerxes Ranby <xerxes@zafena.se> Mark Wielaard <mark@klomp.org> PR632: 6878713.patch breaks shark zero build * patches/icedtea-stdc-limit-macros.patch (openjdk/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp): Only define __STDC_LIMIT_MACROS if undefined. * Makefile.am (ICEDTEA_PATCHES): Add new patch. * NEWS: Updated.
author doko@ubuntu.com
date Fri, 25 Mar 2011 13:25:46 +0100
parents
children
line wrap: on
line source

--- openjdk/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp
+++ openjdk/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp
@@ -72,7 +72,9 @@
 # endif

 #ifdef LINUX
+#ifndef __STDC_LIMIT_MACROS
 #define __STDC_LIMIT_MACROS
+#endif
 #include <inttypes.h>
 #include <signal.h>
 #include <ucontext.h>