You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by hi...@apache.org on 2008/06/27 19:15:05 UTC
svn commit: r672332 -
/harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hyerrorhelpers.c
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>