|
Author: lewis
Date: 2011-07-04 07:05:58 -0700 (Mon, 04 Jul 2011)
New Revision: 2439
Modified:
trunk/platforms/Cross/vm/sqVirtualMachine.c
Log:
Avoid references to external function amInVMThread() unless VM_PROXY_MINOR > 10
Modified: trunk/platforms/Cross/vm/sqVirtualMachine.c
===================================================================
--- trunk/platforms/Cross/vm/sqVirtualMachine.c 2011-07-01 17:22:41 UTC (rev 2438)
+++ trunk/platforms/Cross/vm/sqVirtualMachine.c 2011-07-04 14:05:58 UTC (rev 2439)
@@ -232,6 +232,7 @@
void (*setInterruptCheckChain(void (*aFunction)(void)))() { return 0; }
#endif
+#if VM_PROXY_MINOR > 10
#if COGMTVM
sqInt disownVM(sqInt flags);
sqInt ownVM(sqInt threadIdAndFlags);
@@ -243,6 +244,7 @@
return amInVMThread() ? 0 : -1;
}
#endif
+#endif
extern sqInt isYoung(sqInt);
/* High-priority and synchronous ticker function support. */
|