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