Add macros G_WIN32_DLLMAIN_FOR_DLL_NAME and G_HARDCODED_PATH_WRAPPER.
authorTor Lillqvist <tml@iki.fi>
Mon, 22 Oct 2001 23:19:19 +0000 (23:19 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Mon, 22 Oct 2001 23:19:19 +0000 (23:19 +0000)
commit3984621bd31851ff73192c22cfc54f2bd7ecd511
tree7f88f2b51ddbad29d309339f8111e3137ab60af6
parenta0b08581c0a95711ddeb31f4e029e8971225d6dc
Add macros G_WIN32_DLLMAIN_FOR_DLL_NAME and G_HARDCODED_PATH_WRAPPER.

2001-10-23  Tor Lillqvist  <tml@iki.fi>

* glib/gutils.h: Add macros G_WIN32_DLLMAIN_FOR_DLL_NAME and
G_HARDCODED_PATH_WRAPPER. These are used to avoid hardcoding path
names into Windows DLLs.

* glib/gutils.c: Use them for GLIB_LOCALEDIR.

* glib/gwin32.c (get_package_directory_from_module): Plug a small
memory leak. Minor code reordering.
(g_win32_get_package_installation_subdirectory):  Allow empty subdir.
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib/gutils.c
glib/gutils.h
glib/gwin32.c