diff options
author | Tor Lillqvist <tml@iki.fi> | 2004-08-25 00:39:13 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2004-08-25 00:39:13 +0000 |
commit | a56aee27f687ea292bb85661e95b07141e2af90b (patch) | |
tree | 2c32d9bfd37033a4127df2ae67fd247b7cc05d78 /configure.in | |
parent | d7bd1397a8cc910932916ee21481cf2f18c8afc1 (diff) |
Win32 equivalences of the XDG folders
2004-08-25 Tor Lillqvist <tml@iki.fi>
Win32 equivalences of the XDG folders
* glib/gutils.c (get_special_folder): New function, calls
SHGetSpecialFolderLocation() to get path to places like the My
Documents folder.
(g_get_any_init): Use CSIDL_PROFILE as HOME if not
overridden by env vars.
(g_get_user_data_dir): Use CSIDL_PERSONAL.
(g_get_user_config_dir): Use CSIDL_APPDATA.
(g_get_user_cache_dir): Use CSIDL_INTERNET_CACHE. Debatable...
(g_get_system_data_dirs): Use CSIDL_COMMON_APPDATA and
CSIDL_COMMON_DOCUMENTS.
(g_get_system_config_dirs): Use CSIDL_COMMON_APPDATA.
* configure.in: Add -lole32 to G_LIBS_EXTRA for mingw.
* glib/glib.def: Add the new functions.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in index b024157ae..b865d0e0e 100644 --- a/configure.in +++ b/configure.in @@ -1970,7 +1970,7 @@ case $host in G_LIBS_EXTRA="-luser32 -lkernel32" ;; *-*-mingw*) - G_LIBS_EXTRA="-lwsock32" + G_LIBS_EXTRA="-lwsock32 -lole32" ;; *) G_LIBS_EXTRA="" |