summaryrefslogtreecommitdiff
path: root/src/def.h
diff options
context:
space:
mode:
authorLibravatar Mubashshir <[email protected]>2023-03-07 21:11:06 +0600
committerLibravatar Mubashshir <[email protected]>2023-03-07 21:11:06 +0600
commitd830bfc8ce7c6763d074beafdde7cab1835d31f9 (patch)
tree179f81f3b42779b1f6fb69deed6b69dab39f4f89 /src/def.h
downloadwhatsie-upstream/4.12.0.tar.gz
whatsie-upstream/4.12.0.zip
Import Upstream version 4.12.0upstream/4.12.0
Diffstat (limited to 'src/def.h')
-rw-r--r--src/def.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/def.h b/src/def.h
new file mode 100644
index 0000000..4a17160
--- /dev/null
+++ b/src/def.h
@@ -0,0 +1,16 @@
+#ifndef DEF_H
+#define DEF_H
+
+#ifndef GIT_HASH
+ #define GIT_HASH "unknown"
+#endif
+
+#ifndef GIT_BRANCH
+ #define GIT_BRANCH "unknown"
+#endif
+
+#ifndef BUILD_TIMESTAMP
+ #define BUILD_TIMESTAMP __TIMESTAMP__
+#endif
+
+#endif // DEF_H