From 11b453d5cf6d3b953a1964d4e14f1dace2d7a795 Mon Sep 17 00:00:00 2001 From: ehouse Date: Sun, 10 Jan 2010 23:39:54 +0000 Subject: [PATCH] fix to compile with debugging turned off --- xwords4/android/xptypes.h | 1 + 1 file changed, 1 insertion(+) diff --git a/xwords4/android/xptypes.h b/xwords4/android/xptypes.h index 49c121647..c47a332ce 100644 --- a/xwords4/android/xptypes.h +++ b/xwords4/android/xptypes.h @@ -57,6 +57,7 @@ typedef XP_U32 XP_Time; #else # define XP_MALLOC(pool, nbytes) malloc(nbytes) # define XP_REALLOC(pool, p, bytes) realloc((p), (bytes)) +# define XP_CALLOC( pool, bytes ) calloc( 1, (bytes) ) # define XP_FREE(pool, p) free(p) #endif