summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2020-02-24 05:36:22 -0800
committerGarrett D'Amore <garrett@damore.org>2020-02-24 05:36:22 -0800
commit4f7cf93dd0d9c37c7e5c6ec31d057f7cb3714a9c (patch)
tree03185bf0ca0734804dd6c6abc4694291698d77ea /include
parentee0b44406d2b658886760ea08c0af12781ab7e3a (diff)
downloadnng-4f7cf93dd0d9c37c7e5c6ec31d057f7cb3714a9c.tar.gz
nng-4f7cf93dd0d9c37c7e5c6ec31d057f7cb3714a9c.tar.bz2
nng-4f7cf93dd0d9c37c7e5c6ec31d057f7cb3714a9c.zip
fixes #1205 Make include guards unique
The nng.h header should use the same file path based guards as the rest of the headers, so NNG_NNG_H (as it is delivered as <nng/nng.h>.
Diffstat (limited to 'include')
-rw-r--r--include/nng/nng.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/nng/nng.h b/include/nng/nng.h
index e061bd50..7cbc756d 100644
--- a/include/nng/nng.h
+++ b/include/nng/nng.h
@@ -8,8 +8,8 @@
// found online at https://opensource.org/licenses/MIT.
//
-#ifndef NNG_H
-#define NNG_H
+#ifndef NNG_NNG_H
+#define NNG_NNG_H
// NNG (nanomsg-next-gen) is an improved implementation of the SP protocols.
// The APIs have changed, and there is no attempt to provide API compatibility
@@ -1263,4 +1263,4 @@ NNG_DECL int nng_stream_listener_set_addr(
}
#endif
-#endif // NNG_H
+#endif // NNG_NNG_H