blob: 0df955d1f42b1a6ab7c57c73aa5482641b99086b (
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
27
28
|
#ifndef STASIS_CONFIG_H
#define STASIS_CONFIG_H
#define STASIS_SYSCONFDIR "@SYSCONFDIR@/stasis"
#if defined(_WIN32) || defined(_WIN64) || defined(__CYGWIN__)
#define STASIS_OS_WINDOWS
#elif defined(__linux__)
#define STASIS_OS_LINUX
#include "os_linux.h"
#elif defined(unix) || defined(__unix__) || defined(__unix)
#define STASIS_OS_UNIX
#elif defined(__APPLE__)
#define STASIS_OS_DARWIN
#include "os_darwin.h"
#else
#define STASIS_OS_UNKNOWN
#error Operating system unknown/unsupported
#endif // OS detection
#endif // STASIS_CONFIG_H
|