summaryrefslogtreecommitdiff
path: root/include/sysconf.h.cmake
blob: aa9cf866d6e7c949fa3b5ed982e232f62bea37ad (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
/*
 *
 * (C) 2003-2021 Anope Team
 * Contact us at team@anope.org
 *
 * Please read COPYING and README for further details.
 *
 * Based on the original code of Epona by Lara.
 * Based on the original code of Services by Andy Church.
 */

#pragma once

#cmakedefine DEBUG_BUILD

#cmakedefine DEFUMASK @DEFUMASK@
#cmakedefine HAVE_UMASK 1
#cmakedefine GETTEXT_FOUND 1

#ifdef _WIN32
# define popen _popen
# define pclose _pclose
# ifdef MSVCPP
#  define PATH_MAX MAX_PATH
# endif
# define sleep(x) Sleep(x * 1000)
#endif