mirror of https://gerrit.osmocom.org/asn1c
assert.h only for internal files
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@874 59561ff5-6e30-0410-9f3c-9617f08c8826
This commit is contained in:
parent
fa8b7948b9
commit
ad96ab2193
|
@ -13,6 +13,10 @@ int get_asn1c_environment_version(void); /* Run-time version */
|
|||
|
||||
#include <asn_application.h> /* Application-visible API */
|
||||
|
||||
#ifndef __NO_ASSERT_H__ /* Include assert.h only for internal use. */
|
||||
#include <assert.h> /* for assert() macro */
|
||||
#endif
|
||||
|
||||
#define CALLOC(nmemb, size) calloc(nmemb, size)
|
||||
#define MALLOC(size) malloc(size)
|
||||
#define REALLOC(oldptr, size) realloc(oldptr, size)
|
||||
|
|
|
@ -18,9 +18,6 @@
|
|||
#include <sys/types.h> /* For size_t */
|
||||
#include <stdarg.h> /* For va_start */
|
||||
#include <stddef.h> /* for offsetof and ptrdiff_t */
|
||||
#ifndef __NO_ASSERT_H__
|
||||
#include <assert.h> /* for assert() macro */
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
|
||||
|
|
Loading…
Reference in New Issue