summaryrefslogtreecommitdiff
path: root/glib.h
diff options
context:
space:
mode:
authorSebastian Wilhelmi <wilhelmi@ira.uka.de>1999-11-25 13:47:55 +0000
committerSebastian Wilhelmi <wilhelmi@src.gnome.org>1999-11-25 13:47:55 +0000
commitc54892b11bfe2590bee3320914c9df80a81ecc79 (patch)
tree125c4f67129abcd2b9f0abeb1b82888049e34ee1 /glib.h
parent430428d1c9114befb9cb0873b0c0f257a40f094b (diff)
downloadglib-c54892b11bfe2590bee3320914c9df80a81ecc79.tar.gz
This of course should return TRUE in a program with a thread-disabled
1999-11-25 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * glib.h (G_TRYLOCK): This of course should return TRUE in a program with a thread-disabled GLib.
Diffstat (limited to 'glib.h')
-rw-r--r--glib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/glib.h b/glib.h
index 616974c2e..b94c94540 100644
--- a/glib.h
+++ b/glib.h
@@ -3124,7 +3124,7 @@ extern void glib_dummy_decl (void);
# define G_LOCK_EXTERN(name) extern void glib_dummy_decl (void)
# define G_LOCK(name)
# define G_UNLOCK(name)
-# define G_TRYLOCK(name) (FALSE)
+# define G_TRYLOCK(name) (TRUE)
#endif /* !G_THREADS_ENABLED */
#ifdef __cplusplus