summaryrefslogtreecommitdiffstats
path: root/loader
diff options
context:
space:
mode:
Diffstat (limited to 'loader')
-rw-r--r--loader/win32.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/loader/win32.c b/loader/win32.c
index 3086f97582..48242aff8f 100644
--- a/loader/win32.c
+++ b/loader/win32.c
@@ -246,11 +246,12 @@ typedef struct th_list_t{
// have to be cleared by GARBAGE COLLECTOR
-static unsigned char* heap=NULL;
-static int heap_counter=0;
+//static unsigned char* heap=NULL;
+//static int heap_counter=0;
static tls_t* g_tls=NULL;
static th_list* list=NULL;
+#if 0
static void test_heap(void)
{
int offset=0;
@@ -271,6 +272,7 @@ static void test_heap(void)
printf("Free heap corruption at address %d\n", offset);
}
}
+#endif
#undef MEMORY_DEBUG
#ifdef MEMORY_DEBUG