Skip to content

Commit 475b4e5

Browse files
committed
Include stdlib for string functions, but without malloc
1 parent 9260c5f commit 475b4e5

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

include/mpack/mpack-config.h

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -79,26 +79,18 @@
7979
/**
8080
* @def MPACK_STDLIB
8181
*
82-
* Enables the use of C stdlib. This allows the library to use malloc
82+
* Enables the use of C stdlib. This allows the library
8383
* for debugging and in allocation helpers.
8484
*/
85-
#ifndef MPACK_STDLIB
86-
#ifdef PARAM_LIST_DYNAMIC
8785
#define MPACK_STDLIB 1
88-
#else
89-
#define MPACK_STDLIB 0
90-
#endif
91-
#endif
9286

9387
/**
9488
* @def MPACK_STDIO
9589
*
9690
* Enables the use of C stdio. This adds helpers for easily
9791
* reading/writing C files and makes debugging easier.
9892
*/
99-
#ifndef MPACK_STDIO
10093
#define MPACK_STDIO 1
101-
#endif
10294

10395
/**
10496
* @}

0 commit comments

Comments
 (0)