summaryrefslogtreecommitdiff
path: root/tests/testgdateparser.c
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2001-02-21 12:41:28 +0000
committerTor Lillqvist <tml@src.gnome.org>2001-02-21 12:41:28 +0000
commitcd89e4cca6d203c3f3324d7368bbbd6634bc11d3 (patch)
treeb936b7b061d7aba67025c96bf7709e0866c7ebb3 /tests/testgdateparser.c
parentd1a05f990e35d83e20f62b303fe14d836f779921 (diff)
Match also UNC paths on Win32.
2001-02-21 Tor Lillqvist <tml@iki.fi> * gutils.c (g_path_is_absolute): Match also UNC paths on Win32. * gthread.h: Include gtypes.h to be sure to get GLIB_VAR definition, remove definition from here. * gunicode.h: Remove duplicate GLIB_VAR definition from here, too. * gutils.c: (Win32) Use USERPROFILE as home dir if present. On Win2k, HOMEDRIVE and HOMEPATH aren't reliable. * Makefile.am (INCLUDES): Add -DGLIB_COMPILATION. * makefile.mingw.in: Remove install target, Windows isn't Unix. * testgdate.c * testgdateparser.c * testglib.c: Undefine GLIB_COMPILATION. * glib.def: Updates. * .cvsignore * */.cvsignore: Ignore also .obj, .dll, .lib and .exe files.
Diffstat (limited to 'tests/testgdateparser.c')
-rw-r--r--tests/testgdateparser.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/testgdateparser.c b/tests/testgdateparser.c
index 1e482ffb5..c6be8238b 100644
--- a/tests/testgdateparser.c
+++ b/tests/testgdateparser.c
@@ -1,3 +1,6 @@
+#ifdef GLIB_COMPILATION
+#undef GLIB_COMPILATION
+#endif
#include "glib.h"