summaryrefslogtreecommitdiff
path: root/src/libstddjb/alloc-internal.h
blob: 6fd312eec1ee3c6c3708fa52c2d202092784d662 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* ISC license. */

#ifndef ALLOC_INTERNAL_H
#define ALLOC_INTERNAL_H

#include <skalibs/sysdeps.h>
#include <skalibs/alloc.h>

#ifdef SKALIBS_HASMALLOC0

#include <stdlib.h>

#define alloc_0 (aligned_char_ref)malloc(0)

#else

extern aligned_char_ref alloc_0 ;

#endif

#endif