diff options
author | nathansmith117 <thenathansmithsmith@gmail.com> | 2024-03-19 18:11:21 +0000 |
---|---|---|
committer | nathansmith117 <thenathansmithsmith@gmail.com> | 2024-03-19 18:11:21 +0000 |
commit | 08450f4bc90c77738f0fa35848d35e23ca8c5d63 (patch) | |
tree | 55d99190071db3b6abf62de8a2fff94107f80806 /src | |
parent | 0a76c097ce385f989c49eaf074d2f7dcc05a8c64 (diff) | |
download | PenguinYippies-08450f4bc90c77738f0fa35848d35e23ca8c5d63.tar.gz PenguinYippies-08450f4bc90c77738f0fa35848d35e23ca8c5d63.tar.bz2 PenguinYippies-08450f4bc90c77738f0fa35848d35e23ca8c5d63.zip |
Got working on the web
Diffstat (limited to 'src')
-rw-r--r-- | src/gameCommon.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gameCommon.h b/src/gameCommon.h index eb5ccf7..1592092 100644 --- a/src/gameCommon.h +++ b/src/gameCommon.h @@ -15,8 +15,8 @@ #define YP_MALLOC(size) malloc(size) #define YP_CALLOC(nmemb, size) calloc(nmemb, size) #define YP_REALLOC(ptr, size) realloc(ptr, size) -#define YP_REALLOCARRAY(ptr, nmemb, size) reallocarray(ptr, nmemb, size) -//#define YP_REALLOCARRAY(ptr, nmemb, size) realloc(ptr, nmemb * size) +//#define YP_REALLOCARRAY(ptr, nmemb, size) reallocarray(ptr, nmemb, size) +#define YP_REALLOCARRAY(ptr, nmemb, size) realloc(ptr, nmemb * size) #define YP_FREE(ptr) free(ptr) #define ALLOCATION_ERROR TraceLog(LOG_ERROR, "Allocation error in %s:%d", __FILE__, __LINE__) |