mem.h
00001 #ifndef MEM_H
00002 # define MEM_H
00003
00004
00005
00006
00007
00008 #ifdef HAVE_ALLOCA
00009 # ifdef HAVE_ALLOCA_H
00010 # include <alloca.h>
00011 # endif
00012 # define _asn1_alloca alloca
00013 # define _asn1_afree(x)
00014 #else
00015 # define _asn1_alloca _asn1_malloc
00016 # define _asn1_afree _asn1_free
00017 #endif
00018
00019 #define _asn1_malloc malloc
00020 #define _asn1_free free
00021 #define _asn1_calloc calloc
00022 #define _asn1_realloc realloc
00023 #define _asn1_strdup strdup
00024
00025 #endif
00026
00027