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 2007/07/09 10:49:10 UTC
svn commit: r554565 -
/harmony/enhanced/classlib/trunk/modules/portlib/src/test/native/hytime/shared/hytime.c
Author: hindessm
Date: Mon Jul 9 01:49:09 2007
New Revision: 554565
URL: http://svn.apache.org/viewvc?view=rev&rev=554565
Log:
Allow this to compile with -Dhy.no.thr=true.
Modified:
harmony/enhanced/classlib/trunk/modules/portlib/src/test/native/hytime/shared/hytime.c
Modified: harmony/enhanced/classlib/trunk/modules/portlib/src/test/native/hytime/shared/hytime.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/portlib/src/test/native/hytime/shared/hytime.c?view=diff&rev=554565&r1=554564&r2=554565
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/portlib/src/test/native/hytime/shared/hytime.c (original)
+++ harmony/enhanced/classlib/trunk/modules/portlib/src/test/native/hytime/shared/hytime.c Mon Jul 9 01:49:09 2007
@@ -31,15 +31,15 @@
int test_hytime_shutdown(struct HyPortLibrary *hyportLibrary);
int test_hytime_startup(struct HyPortLibrary *hyportLibrary);
+#ifdef HY_NO_THR
+HyThreadLibrary *privateThreadLibrary;
+#endif
+
int main (int argc, char **argv, char **envp)
{
HyPortLibrary hyportLibrary;
HyPortLibraryVersion portLibraryVersion;
int ret;
-
-#ifdef HY_NO_THR
- HyThreadLibrary *privateThreadLibrary;
-#endif
printf("hytime:\n");