diff options
author | Peter Weilbacher <pmw@avila.aip.de> | 2007-04-20 20:46:55 +0200 |
---|---|---|
committer | Peter Weilbacher <pmw@avila.aip.de> | 2007-04-20 20:46:55 +0200 |
commit | 735be3f09d1d150909305ff3232fda42efcb87bd (patch) | |
tree | e60647c51b599b8a12276c936f26dc6ac6543249 /src/cairo-mutex-private.h | |
parent | 5135bcf414abc91e7777e2c024c9b6e10bf6115c (diff) | |
download | cairo-735be3f09d1d150909305ff3232fda42efcb87bd.tar.gz |
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...
Diffstat (limited to 'src/cairo-mutex-private.h')
-rw-r--r-- | src/cairo-mutex-private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-mutex-private.h b/src/cairo-mutex-private.h index 195b84993..1e0c06869 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 |