harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r499450 - /harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hyerrorhelpers.c
Date Wed, 24 Jan 2007 15:57:02 GMT
Author: hindessm
Date: Wed Jan 24 07:57:00 2007
New Revision: 499450

URL: http://svn.apache.org/viewvc?view=rev&rev=499450
Log:
Try a little harder to get the correct version of strerror_r on some
versions of Linux.

Modified:
    harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hyerrorhelpers.c

Modified: harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hyerrorhelpers.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hyerrorhelpers.c?view=diff&rev=499450&r1=499449&r2=499450
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hyerrorhelpers.c
(original)
+++ harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hyerrorhelpers.c
Wed Jan 24 07:57:00 2007
@@ -36,6 +36,9 @@
 
 /* Ensure we get the recommended XSI-compliant strerror_r() */
 #define _XOPEN_SOURCE 600
+#undef _GNU_SOURCE
+#define __USE_XOPEN2K
+#undef __USE_GNU
 #include <string.h>
 
 #define CDEV_CURRENT_FUNCTION errorMessage



Mime
View raw message