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/dll_init.h')
-rw-r--r--winsup/cygwin/dll_init.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/winsup/cygwin/dll_init.h b/winsup/cygwin/dll_init.h
index 4897c420f..369fc5427 100644
--- a/winsup/cygwin/dll_init.h
+++ b/winsup/cygwin/dll_init.h
@@ -40,6 +40,7 @@ struct per_module
typedef enum
{
DLL_NONE,
+ DLL_SELF, /* main-program.exe, cygwin1.dll */
DLL_LINK,
DLL_LOAD,
DLL_ANY
@@ -75,6 +76,8 @@ struct dll
class dll_list
{
+ void track_self ();
+
dll *end;
dll *hold;
dll_type hold_type;
@@ -94,6 +97,7 @@ public:
return nt_max_path_buffer;
}
+ dll *main_executable;
dll start;
int loaded_dlls;
int reload_on_fork;