harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r554565 - /harmony/enhanced/classlib/trunk/modules/portlib/src/test/native/hytime/shared/hytime.c
Date Mon, 09 Jul 2007 08:49:10 GMT
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");
 



Mime
View raw message