OSDN Git Service

* dyn_load.c: On NetBSD, include machine/elf_machdep.h and define
[pf3gnuchains/gcc-fork.git] / boehm-gc / win32_threads.c
index 7a1dbe2..5604290 100644 (file)
@@ -1,6 +1,7 @@
+#include "private/gc_priv.h"
+
 #if defined(GC_WIN32_THREADS) 
 
-#include "private/gc_priv.h"
 #include <windows.h>
 
 #ifdef CYGWIN32
@@ -130,7 +131,7 @@ static GC_thread GC_new_thread(void) {
        ABORT("DuplicateHandle failed");
   }
   thread_table[i].stack_base = GC_get_stack_base();
-  /* Up until this point, GC_psuh_all_stacks considers this thread     */
+  /* Up until this point, GC_push_all_stacks considers this thread     */
   /* invalid.                                                          */
   if (thread_table[i].stack_base == NULL) 
     ABORT("Failed to find stack base in GC_new_thread");