summaryrefslogtreecommitdiff
path: root/src/config.h.in
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-11-15 10:50:30 -0300
committerEuAndreh <eu@euandre.org>2023-11-15 16:16:30 -0300
commitaf5e7495f3993c52573432cadde12169d5c05e62 (patch)
tree002fc20e6f12eac71c21c6eccc48bf59e7180274 /src/config.h.in
parentsrc/napi-sqlite.c: Add Node-API PoC (diff)
downloadpapod-af5e7495f3993c52573432cadde12169d5c05e62.tar.gz
papod-af5e7495f3993c52573432cadde12169d5c05e62.tar.xz
Add support for multi-file C project
- have dynamic discovered dependencies via `mkdeps.hs`, and also move the listing of JavaScript files to it. - copy over stub C files for setting up the project skeleton.
Diffstat (limited to '')
-rw-r--r--src/config.h.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/config.h.in b/src/config.h.in
new file mode 100644
index 0000000..4867dc0
--- /dev/null
+++ b/src/config.h.in
@@ -0,0 +1,12 @@
+#ifndef CONFIG_H
+#define CONFIG_H
+
+#define _XOPEN_SOURCE 700
+#define _POSIX_C_SOURCE 200809L
+
+#define VERSION_MACRO_STRING "@VERSION@"
+#define DATE_MACRO_STRING "@DATE@"
+#define NAME_MACRO_STRING "@NAME@"
+#define LOCALEDIR_MACRO_STRING "@LOCALEDIR@"
+
+#endif