summaryrefslogtreecommitdiff
path: root/modules/free-posix
blob: 9d18421b642f9bebdef579a6da84bd29396d92df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Description:
Work around systems where free clobbers errno.

Files:
lib/free.c
m4/free.m4

Depends-on:
stdlib
string
wchar

configure.ac:
gl_FUNC_FREE
gl_CONDITIONAL([GL_COND_OBJ_FREE], [test $REPLACE_FREE = 1])
AM_COND_IF([GL_COND_OBJ_FREE], [
  gl_PREREQ_FREE
])
gl_STDLIB_MODULE_INDICATOR([free-posix])

Makefile.am:
if GL_COND_OBJ_FREE
lib_SOURCES += free.c
endif

Include:
<stdlib.h>

License:
LGPLv2+

Maintainer:
Paul Eggert