2 * Copyright (C) 2010 Joel Rosdahl
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License as published by the Free
6 * Software Foundation; either version 3 of the License, or (at your option)
9 * This program is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14 * You should have received a copy of the GNU General Public License along with
15 * this program; if not, write to the Free Software Foundation, Inc., 51
16 * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 #ifndef CCACHE_SYSTEM_H
20 #define CCACHE_SYSTEM_H
25 #ifdef HAVE_SYS_MMAN_H
29 #include <sys/types.h>
30 #ifdef HAVE_SYS_WAIT_H
50 int rpl_vsnprintf(char *, size_t, const char *, va_list);
51 #define vsnprintf rpl_vsnprintf
54 int rpl_snprintf(char *, size_t, const char *, ...);
55 #define snprintf rpl_snprintf
58 int rpl_vasprintf(char **, const char *, va_list);
59 #define vasprintf rpl_vasprintf
62 int rpl_asprintf(char **, const char *, ...);
63 #define asprintf rpl_asprintf
73 # define _Bool signed char
79 # define __bool_true_false_are_defined 1
82 #endif /* CCACHE_SYSTEM_H */