[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] branch master updated: Include "gettext.h" even when "platform.
From: |
gnunet |
Subject: |
[gnunet] branch master updated: Include "gettext.h" even when "platform.h" is unavailable |
Date: |
Fri, 10 Sep 2021 16:39:55 +0200 |
This is an automated email from the git hooks/post-receive script.
alessio-vanni pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new 46e07ed8e Include "gettext.h" even when "platform.h" is unavailable
46e07ed8e is described below
commit 46e07ed8eb64ff5a7473ac51de2e39c5a8a6ab3d
Author: Alessio Vanni <vannilla@firemail.cc>
AuthorDate: Fri Sep 10 16:38:35 2021 +0200
Include "gettext.h" even when "platform.h" is unavailable
---
src/include/gnunet_common.h | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/src/include/gnunet_common.h b/src/include/gnunet_common.h
index 3ee2a070a..ca3ddceaa 100644
--- a/src/include/gnunet_common.h
+++ b/src/include/gnunet_common.h
@@ -61,6 +61,14 @@
#include <byteswap.h>
#endif
+
+/* This is also included in platform.h, but over there a couple of
+ GNUnet-specific gettext-related macros are defined in addition to including
+ the header file. Because this header file uses gettext, this include
+ statement makes sure gettext macros are defined even when platform.h is
+ unavailable. */
+#include "gettext.h"
+
#ifdef __cplusplus
extern "C" {
#if 0 /* keep Emacsens' auto-indent happy */
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnunet] branch master updated: Include "gettext.h" even when "platform.h" is unavailable,
gnunet <=