harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r672332 - /harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hyerrorhelpers.c
Date Fri, 27 Jun 2008 17:15:05 GMT
Author: hindessm
Date: Fri Jun 27 10:15:04 2008
New Revision: 672332

URL: http://svn.apache.org/viewvc?rev=672332&view=rev
Log:
Trivial compiler warning fix.

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?rev=672332&r1=672331&r2=672332&view=diff
==============================================================================
--- 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
Fri Jun 27 10:15:04 2008
@@ -37,7 +37,9 @@
 /* Ensure we get the recommended XSI-compliant strerror_r() */
 #define _XOPEN_SOURCE 600
 #undef _GNU_SOURCE
+#ifndef __USE_XOPEN2K
 #define __USE_XOPEN2K
+#endif
 #undef __USE_GNU
 #include <string.h>
 



Mime
View raw message