aboutsummaryrefslogtreecommitdiff
path: root/src/version.c.in
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-07-30 10:25:46 +0200
committerThomas White <taw@physics.org>2020-07-30 11:15:53 +0200
commit1e5af53a425162fe83e0e01385213f5c64eecdb0 (patch)
treee90b5c6b5330f6da9acc7f1530731a70669c3570 /src/version.c.in
parente14e413957b0c1e357167f43f129a6ef39ef5051 (diff)
Add include guards to version headers
Diffstat (limited to 'src/version.c.in')
-rw-r--r--src/version.c.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/version.c.in b/src/version.c.in
index bf2fddee..86315801 100644
--- a/src/version.c.in
+++ b/src/version.c.in
@@ -1,3 +1,7 @@
+/* Prevent subsequent inclusion of version.h
+ * (e.g. in the case of Meson unity build mode) */
+#define CRYSTFEL_VERSION_H
+
const char *crystfel_version_string()
{
return "@VCS_TAG@";