* 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.
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
Reference in New Issue
Block a user