This is an automated email from the ASF dual-hosted git repository.

chug pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git


The following commit(s) were added to refs/heads/main by this push:
     new 5bd4ca5  DISPATCH-2163: Add C include guards to generated config.h 
files
5bd4ca5 is described below

commit 5bd4ca594ee2593ff69700d9203633d7c4bbe83e
Author: Chuck Rolke <c...@apache.org>
AuthorDate: Tue Jun 29 10:32:46 2021 -0400

    DISPATCH-2163: Add C include guards to generated config.h files
---
 router/src/config.h.in | 3 +++
 src/config.h.in        | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/router/src/config.h.in b/router/src/config.h.in
index 8e09608..4a61371 100644
--- a/router/src/config.h.in
+++ b/router/src/config.h.in
@@ -1,3 +1,5 @@
+#ifndef __router_src_config_h_in__
+#define __router_src_config_h_in__
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -21,3 +23,4 @@
 #cmakedefine DEFAULT_CONFIG_PATH          "${DEFAULT_CONFIG_PATH}"
 #cmakedefine QPID_DISPATCH_HOME_INSTALLED "${QPID_DISPATCH_HOME_INSTALLED}"
 
+#endif // __router_src_config_h_in__
diff --git a/src/config.h.in b/src/config.h.in
index f558215..d162224 100644
--- a/src/config.h.in
+++ b/src/config.h.in
@@ -1,3 +1,5 @@
+#ifndef __src_config_h_in__
+#define __src_config_h_in__
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -21,3 +23,4 @@
 #define QPID_CONSOLE_STAND_ALONE_INSTALL_DIR 
"${CONSOLE_STAND_ALONE_INSTALL_DIR}"
 #cmakedefine01 QD_MEMORY_STATS
 #cmakedefine01 QD_HAVE_GETRLIMIT
+#endif // __src_config_h_in__

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org
For additional commands, e-mail: commits-h...@qpid.apache.org

Reply via email to