* codememlock: #ifdef for threads.
authortwisti <none@none>
Thu, 3 Nov 2005 20:43:17 +0000 (20:43 +0000)
committertwisti <none@none>
Thu, 3 Nov 2005 20:43:17 +0000 (20:43 +0000)
src/mm/memory.c

index 40a0c16ec15a79965654c7ff36d3a3a3c01b20b7..a873550a081199446365e9f6d16cd6327dab803b 100644 (file)
@@ -28,7 +28,7 @@
 
    Changes: Christian Thalinger
 
-   $Id: memory.c 3516 2005-10-28 11:37:03Z twisti $
+   $Id: memory.c 3552 2005-11-03 20:43:17Z twisti $
 
 */
 
@@ -93,7 +93,9 @@ static dumpinfo _no_threads_dumpinfo;
 
 #define DEFAULT_CODEMEM_SIZE    128 * 1024  /* defaulting to 128kB            */
 
+#if defined(USE_THREADS)
 static java_objectheader *codememlock = NULL;
+#endif
 static int                codememsize = 0;
 static void              *codememptr  = NULL;