mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-09 16:21:45 +00:00
Handle calloc failures
This commit is contained in:
1 parent
7200f079bf
commit
8e52075636
5 files changed
+38
-12
No files matched your search
+1
-2
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user