harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arc...@apache.org
Subject svn commit: r379838 - /incubator/harmony/enhanced/jchevm/libjc/arch/i386/i386_definitions.h
Date Wed, 22 Feb 2006 18:50:45 GMT
Author: archie
Date: Wed Feb 22 10:50:43 2006
New Revision: 379838

URL: http://svn.apache.org/viewcvs?rev=379838&view=rev
Log:
Add Cygwin fixes for sched_get_priority_min() and sched_get_priority_max().

Modified:
    incubator/harmony/enhanced/jchevm/libjc/arch/i386/i386_definitions.h

Modified: incubator/harmony/enhanced/jchevm/libjc/arch/i386/i386_definitions.h
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/jchevm/libjc/arch/i386/i386_definitions.h?rev=379838&r1=379837&r2=379838&view=diff
==============================================================================
--- incubator/harmony/enhanced/jchevm/libjc/arch/i386/i386_definitions.h (original)
+++ incubator/harmony/enhanced/jchevm/libjc/arch/i386/i386_definitions.h Wed Feb 22 10:50:43
2006
@@ -31,9 +31,12 @@
 
 #define _JC_BIG_ENDIAN		0
 
+/* Fixes for Cygwin */
 #ifdef __CYGWIN__
 #undef _JC_LIBRARY_FMT
 #define _JC_LIBRARY_FMT		"cyg%s.dll"
+#define sched_get_priority_max(x)	(15)
+#define sched_get_priority_min(x)	(1)
 #endif
 
 #endif	/* _ARCH_I386_DEFINITIONS_H_ */



Mime
View raw message