aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2015-12-26 16:39:33 +0100
committerSimon Warta <[email protected]>2016-01-11 16:20:31 +0100
commitbd7ae5416385c12437dbb1e8cf377e0e817e7a90 (patch)
treeea04970928130fd720dfba9f9587f6b9fa517560 /src/build-data
parent672d29570e55686b90126b5d6f5d337ddf0b8f04 (diff)
Get rid of "extra ';'" warnings and force semicolon after macros
Diffstat (limited to 'src/build-data')
-rw-r--r--src/build-data/buildh.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/build-data/buildh.in b/src/build-data/buildh.in
index 42d5a1531..338787de5 100644
--- a/src/build-data/buildh.in
+++ b/src/build-data/buildh.in
@@ -289,4 +289,8 @@ softare-based entropy polling is still used.
*/
%{local_config}
+// Append to macros living outside of functions, so that invocations must end with a semicolon.
+// The struct is only declared to force the semicolon, it is never defined.
+#define BOTAN_FORCE_SEMICOLON struct BOTAN_DUMMY_STRUCT
+
#endif