OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* dyn_load.c: On NetBSD, include machine/elf_machdep.h and define
[pf3gnuchains/gcc-fork.git]
/
boehm-gc
/
win32_threads.c
diff --git
a/boehm-gc/win32_threads.c
b/boehm-gc/win32_threads.c
index
7a1dbe2
..
5604290
100644
(file)
--- a/
boehm-gc/win32_threads.c
+++ b/
boehm-gc/win32_threads.c
@@
-1,6
+1,7
@@
+#include "private/gc_priv.h"
+
#if defined(GC_WIN32_THREADS)
#if defined(GC_WIN32_THREADS)
-#include "private/gc_priv.h"
#include <windows.h>
#ifdef CYGWIN32
#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();
ABORT("DuplicateHandle failed");
}
thread_table[i].stack_base = GC_get_stack_base();
- /* Up until this point, GC_p
su
h_all_stacks considers this thread */
+ /* Up until this point, GC_p
us
h_all_stacks considers this thread */
/* invalid. */
if (thread_table[i].stack_base == NULL)
ABORT("Failed to find stack base in GC_new_thread");
/* invalid. */
if (thread_table[i].stack_base == NULL)
ABORT("Failed to find stack base in GC_new_thread");