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:
authorChristopher Faylor <me@cgf.cx>2005-03-20 00:45:15 +0300
committerChristopher Faylor <me@cgf.cx>2005-03-20 00:45:15 +0300
commitf5808137717eebb5b38607834016ed733374ccc5 (patch)
tree47b3b7fc8def7b9454961a121d3172aa7ce741d1 /winsup/cygwin/child_info.h
parentcfaf367058257bdeb2fb93250684335b00f5854f (diff)
* child_info.h (fork_info): Use different method to alias variable.
(spawn_info): Ditto. * cxx.cc (__cxa_guard_acquire): New function (needed for gcc 4.x). (__cxa_guard_release): Ditto. * devices.in: Make sure stuff is correctly bracketed (for gcc 4.x). * devices.cc: Regenerate. * fhandler.h (fhandler_disk_file::fchmod): Avoid left coercion (for gcc 4.x). * smallprint.c (__rn): Declare as __fastcall since gcc 4.x complains about use of regparm, for some reason. * sync.h (sync::init_lock): Remove. * sync.cc (sync::init_lock): Ditto.
Diffstat (limited to 'winsup/cygwin/child_info.h')
-rw-r--r--winsup/cygwin/child_info.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/winsup/cygwin/child_info.h b/winsup/cygwin/child_info.h
index 8a57c38c9..f0fa3d0eb 100644
--- a/winsup/cygwin/child_info.h
+++ b/winsup/cygwin/child_info.h
@@ -109,6 +109,8 @@ public:
void __stdcall init_child_info (DWORD, child_info *, HANDLE);
+extern "C" {
extern child_info *child_proc_info;
-extern child_info_spawn *spawn_info __attribute__ ((alias ("child_proc_info")));
-extern child_info_fork *fork_info __attribute__ ((alias ("child_proc_info")));
+extern child_info_spawn *spawn_info asm ("_child_proc_info");
+extern child_info_fork *fork_info asm ("_child_proc_info");
+}