X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=glib%2Fglibconfig.h.win32.in;h=fc638879a068d8fa1645864294dadcd5317e7732;hb=49a5d0f6f2aed99cd78f25655f137f4448e47d92;hp=13b2e69753d55b3eb31a53a9ca07c5860a32f3f6;hpb=b2717740a23ee37d057cc293ee4f92d91993c648;p=platform%2Fupstream%2Fglib.git diff --git a/glib/glibconfig.h.win32.in b/glib/glibconfig.h.win32.in index 13b2e69..fc63887 100644 --- a/glib/glibconfig.h.win32.in +++ b/glib/glibconfig.h.win32.in @@ -148,11 +148,7 @@ typedef unsigned __int64 guintptr; #endif -#ifdef NeXT /* @#%@! NeXTStep */ -# define g_ATEXIT(proc) (!atexit (proc)) -#else -# define g_ATEXIT(proc) (atexit (proc)) -#endif +#define g_ATEXIT(proc) (atexit (proc)) #define g_memmove(dest,src,len) G_STMT_START { memmove ((dest), (src), (len)); } G_STMT_END @@ -206,24 +202,8 @@ typedef unsigned __int64 guintptr; #define G_THREADS_ENABLED #define G_THREADS_IMPL_WIN32 -typedef struct _GMutex* GStaticMutex; -#define G_STATIC_MUTEX_INIT NULL -/* This represents a system thread as used by the implementation. An - * alien implementaion, as loaded by g_thread_init can only count on - * "sizeof (gpointer)" bytes to store their info. We however need more - * for some of our native implementations. */ -typedef union _GSystemThread GSystemThread; -union _GSystemThread -{ -#ifndef _WIN64 - char data[4]; -#else - char data[8]; -#endif - double dummy_double; - void *dummy_pointer; - long dummy_long; -}; + +#define G_ATOMIC_LOCK_FREE #define GINT16_TO_LE(val) ((gint16) (val)) #define GUINT16_TO_LE(val) ((guint16) (val))