diff options
author | Manish Singh <yosh@src.gnome.org> | 1998-10-27 06:58:33 +0000 |
---|---|---|
committer | Manish Singh <yosh@src.gnome.org> | 1998-10-27 06:58:33 +0000 |
commit | 7470df9f231e8f6bbb769b92f69c3e18c008ce9d (patch) | |
tree | 4cd22035d4bd01f61e91e5b11fe6d85af6f7488e /gutils.c | |
parent | 215251e99dcaa18bda8ed70cdd8f0edc27de5f41 (diff) | |
download | glib-7470df9f231e8f6bbb769b92f69c3e18c008ce9d.tar.gz |
win32 patch from Tor Lillqvist (glib-tml-981027-0), fixes some minor
win32 buglets
-Yosh
Diffstat (limited to 'gutils.c')
-rw-r--r-- | gutils.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -322,14 +322,16 @@ g_get_current_dir (void) gchar* g_getenv (const gchar *variable) { +#ifndef NATIVE_WIN32 g_return_val_if_fail (variable != NULL, NULL); -#ifndef NATIVE_WIN32 return getenv (variable); #else gchar *v; guint l, k; gchar *p; + + g_return_val_if_fail (variable != NULL, NULL); v = getenv (variable); if (!v) |