Handle calloc failures

This commit is contained in:
cpq committed 2021-01-26 12:16:58 +00:00
1 parent 7200f079bf
commit 8e52075636
5 files changed
+38 -12

No files matched your search

+1 -2
View File
@@ -233,8 +233,7 @@ typedef unsigned short uint16_t;
typedef short int16_t;
typedef unsigned int uint32_t;
typedef int int32_t;
typedef int bool;
enum { false = 0, true = 1 };
typedef enum { false = 0, true = 1 } bool;
#else
#include <stdbool.h>
#include <stdint.h>