Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/perthread.h')
-rw-r--r--winsup/cygwin/perthread.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/winsup/cygwin/perthread.h b/winsup/cygwin/perthread.h
index 7d009e1f0..f4c82c0ec 100644
--- a/winsup/cygwin/perthread.h
+++ b/winsup/cygwin/perthread.h
@@ -68,6 +68,7 @@ public:
size_t size () {return sizeof (waitq);}
};
+#ifdef NEED_VFORK
struct vfork_save
{
int pid;
@@ -85,6 +86,8 @@ public:
vfork_save *create () {return (vfork_save *) this->per_thread::create ();}
size_t size () {return sizeof (vfork_save);}
};
+extern per_thread_vfork vfork_storage;
+#endif
extern "C" {
struct signal_dispatch
@@ -107,7 +110,6 @@ struct per_thread_signal_dispatch : public per_thread
};
extern per_thread_waitq waitq_storage;
-extern per_thread_vfork vfork_storage;
extern per_thread_signal_dispatch signal_dispatch_storage;
extern per_thread *threadstuff[];