[cairo-commit] src/cairo-mutex-private.h
Peter Weilbacher
pmw at kemper.freedesktop.org
Fri Apr 20 11:51:41 PDT 2007
src/cairo-mutex-private.h | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
New commits:
diff-tree 735be3f09d1d150909305ff3232fda42efcb87bd (from 5135bcf414abc91e7777e2c024c9b6e10bf6115c)
Author: Peter Weilbacher <pmw at avila.aip.de>
Date: Fri Apr 20 20:46:55 2007 +0200
Fix build break related to mutexes on OS/2
cairo_mutex_t is HTMX which is ULONG on OS/2, so we have to set the
mutex itself to 0 and not the address...
diff --git a/src/cairo-mutex-private.h b/src/cairo-mutex-private.h
index 195b849..1e0c068 100644
--- a/src/cairo-mutex-private.h
+++ b/src/cairo-mutex-private.h
@@ -113,7 +113,7 @@ typedef int cairo_mutex_t;
# define CAIRO_MUTEX_FINI(mutex) do { \
if (0 != (mutex)) { \
DosCloseMutexSem (*(mutex)); \
- (mutex) = 0; \
+ (*(mutex)) = 0; \
} \
} while (0)
# define CAIRO_MUTEX_NIL_INITIALIZER 0
More information about the cairo-commit
mailing list