win32 patch from Tor Lillqvist (glib-tml-981027-0), fixes some minor

win32 buglets

-Yosh
This commit is contained in:
Manish Singh
1998-10-27 06:58:33 +00:00
parent 215251e99d
commit 7470df9f23
12 changed files with 67 additions and 3 deletions

View File

@@ -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)