graph: uncomment is_boundary propagation
[tig.git] / compat / compat.h
blob5fffd688588d264e31a00713ac2db67dd874523b
1 /* Copyright (c) 2006-2013 Jonas Fonseca <fonseca@diku.dk>
2 * Copyright (c) 2013 Drew Northup <n1xim.email@gmail.com>
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License as
6 * published by the Free Software Foundation; either version 2 of
7 * the License, or (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
15 #ifndef TIG_COMPAT_H
16 #define TIG_COMPAT_H
18 #ifndef HAVE_CONFIG_H
20 * Enable inclusion of header files checked by configure.
22 #define HAVE_STDLIB_H
23 #define HAVE_STRING_H
24 #define HAVE_SYS_TIME_H
25 #define HAVE_UNISTD_H
26 #endif
29 * XXX: Compatibility code must never be enabled by default.
32 #ifdef NO_MKSTEMPS
33 #define mkstemps compat_mkstemps
34 int compat_mkstemps(char *pattern, int suffix_len);
35 #endif
37 #ifdef NO_SETENV
38 #define setenv compat_setenv
39 int compat_setenv(const char *name, const char *value, int replace);
40 #endif
42 #endif
44 /* vim: set ts=8 sw=8 noexpandtab: */