blob: cd7e789b8f8741b5c03b7818b0a01bf3761065e3 (
plain) (
blame)
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
|
/*
* This source code is released into the public domain.
*/
#ifndef NIHIL_HH_INCLUDED
#define NIHIL_HH_INCLUDED
#if __has_include(<sys/param.h>)
# include <sys/param.h>
#endif
#if defined(__FreeBSD_version)
/* fexecve() added in FreeBSD 8.0 */
#if (__FreeBSD_version >= 800000)
# define NIHIL_HAVE_FEXECVE
#endif
/* getenv_r() added in FreeBSD 15.0 */
#if (__FreeBSD_version >= 1500000)
# define NIHIL_HAVE_GETENV_R
#endif
#endif // defined(__FreeBSD_version)
#endif // !NIHIL_HH_INCLUDED
|