diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-11-13 21:01:14 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-11-13 21:01:14 +0000 |
commit | b1d1f5e44439070e3f4f9d4fa32d43f2a07db62c (patch) | |
tree | 628a1d1e5471189b48cf8865f5e25ba7c656df08 /include | |
parent | 1bb056d61dd70d27d9bd07643740d967a7eae903 (diff) |
This fixes a build error on my mac. It also works on my linux box. Let me
know if it breaks any other platform ...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89253 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/lock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asterisk/lock.h b/include/asterisk/lock.h index 2a2ec9b17..c04d00aaa 100644 --- a/include/asterisk/lock.h +++ b/include/asterisk/lock.h @@ -791,7 +791,7 @@ typedef pthread_rwlock_t ast_rwlock_t; #ifdef HAVE_PTHREAD_RWLOCK_INITIALIZER #define AST_RWLOCK_INIT_VALUE PTHREAD_RWLOCK_INITIALIZER #else -#define AST_RWLOCK_INIT_VALUE NULL +#define AST_RWLOCK_INIT_VALUE { 0 } #endif #ifdef DEBUG_THREADS |