summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/dll_init.h
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2008-08-13 08:25:44 +0000
committerCorinna Vinschen <corinna@vinschen.de>2008-08-13 08:25:44 +0000
commit69d704beff528d3526f4c2cd0ee3da112d70d53a (patch)
treeba0dceccc06f2bfda722700c1dedc974f0d7ab33 /winsup/cygwin/dll_init.h
parente587bc0e7ddf08d9e4d61d0eaaed9351d5a8e7bf (diff)
downloadcygnal-69d704beff528d3526f4c2cd0ee3da112d70d53a.tar.gz
cygnal-69d704beff528d3526f4c2cd0ee3da112d70d53a.tar.bz2
cygnal-69d704beff528d3526f4c2cd0ee3da112d70d53a.zip
* dll_init.cc: Throughout convert to use long pathnames.
* dll_init.h (struct dll): Change name to WCHAR, change operator [] to take PWCHAR argument.
Diffstat (limited to 'winsup/cygwin/dll_init.h')
-rw-r--r--winsup/cygwin/dll_init.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/dll_init.h b/winsup/cygwin/dll_init.h
index a7601e78b..dd7dfb3d7 100644
--- a/winsup/cygwin/dll_init.h
+++ b/winsup/cygwin/dll_init.h
@@ -51,7 +51,7 @@ struct dll
int count;
dll_type type;
int namelen;
- char name[NT_MAX_PATH];
+ WCHAR name[NT_MAX_PATH];
void detach ();
int init ();
};
@@ -68,7 +68,7 @@ public:
int tot;
int loaded_dlls;
int reload_on_fork;
- dll *operator [] (const char *name);
+ dll *operator [] (const PWCHAR name);
dll *alloc (HINSTANCE, per_process *, dll_type);
void detach (void *);
void init ();