summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2022-01-13 13:46:29 +0000
committerSadie Powell <sadie@witchery.services>2022-01-13 13:46:29 +0000
commit15d51ff033c4e7f84b75f28c7448fb818e676839 (patch)
treeb8f4168378c66c2289ab6419008d056a9f153381 /include
parent83bf5ba2550cc643047679f30fbafcac37373a4b (diff)
Document the sysconf header file.
Diffstat (limited to 'include')
-rw-r--r--include/sysconf.h.cmake12
1 files changed, 9 insertions, 3 deletions
diff --git a/include/sysconf.h.cmake b/include/sysconf.h.cmake
index 228b5b5ec..74c57e7c9 100644
--- a/include/sysconf.h.cmake
+++ b/include/sysconf.h.cmake
@@ -11,12 +11,18 @@
#pragma once
-#cmakedefine DEBUG_BUILD
-
+// The default umask to use for files.
#cmakedefine DEFUMASK @DEFUMASK@
-#cmakedefine01 HAVE_UMASK
+
+// Whether Anope was built in debug mode.
+#cmakedefine01 DEBUG_BUILD
+
+// Whether Anope was built with localization support.
#cmakedefine01 HAVE_LOCALIZATION
+// Whether the umask() function is available.
+#cmakedefine01 HAVE_UMASK
+
#ifdef _WIN32
# define popen _popen
# define pclose _pclose