summaryrefslogtreecommitdiff
path: root/glib/gthread.h
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 /glib/gthread.h
parentd1a05f990e35d83e20f62b303fe14d836f779921 (diff)
downloadglib-cd89e4cca6d203c3f3324d7368bbbd6634bc11d3.tar.gz
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 'glib/gthread.h')
-rw-r--r--glib/gthread.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/glib/gthread.h b/glib/gthread.h
index 44145d56c..3452af408 100644
--- a/glib/gthread.h
+++ b/glib/gthread.h
@@ -28,21 +28,10 @@
#define __G_THREAD_H__
#include <gerror.h>
+#include <gtypes.h>
G_BEGIN_DECLS
-#ifndef GLIB_VAR
-# ifdef G_OS_WIN32
-# ifdef GLIB_COMPILATION
-# define GLIB_VAR __declspec(dllexport)
-# else /* !GLIB_COMPILATION */
-# define GLIB_VAR extern __declspec(dllimport)
-# endif /* !GLIB_COMPILATION */
-# else /* !G_OS_WIN32 */
-# define GLIB_VAR extern
-# endif /* !G_OS_WIN32 */
-#endif /* GLIB_VAR */
-
/* GLib Thread support
*/