gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [libmicrohttpd] branch master updated: Fixed build from sou


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] branch master updated: Fixed build from source on GNU Hurd
Date: Wed, 15 May 2019 13:58:36 +0200

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

The following commit(s) were added to refs/heads/master by this push:
     new 2a0871b7 Fixed build from source on GNU Hurd
2a0871b7 is described below

commit 2a0871b731fb068bfab6acc04a473914149b87b0
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Wed May 15 14:39:58 2019 +0300

    Fixed build from source on GNU Hurd
---
 ChangeLog                 | 3 +++
 src/examples/demo.c       | 6 ++++++
 src/examples/demo_https.c | 6 ++++++
 3 files changed, 15 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 9f7556c0..5803a58f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+Web May 15 14:54:00 MSK 2019
+       Fixed build from source on GNU Hurd. -EG
+
 Mon May  6 11:58:00 MSK 2019
        Updated README and COPYING files. MHD remains LGPLv2.1-licensed. -EG
 
diff --git a/src/examples/demo.c b/src/examples/demo.c
index 4e89c4e3..e93fb34b 100644
--- a/src/examples/demo.c
+++ b/src/examples/demo.c
@@ -48,6 +48,12 @@
 #define CPU_COUNT 2
 #endif
 
+#ifndef PATH_MAX
+/* Some platforms (namely: GNU Hurd) do no define PATH_MAX.
+   As it is only example for MHD, just use reasonable value for PATH_MAX. */
+#define PATH_MAX 16384
+#endif
+
 /**
  * Number of threads to run in the thread pool.  Should (roughly) match
  * the number of cores on your system.
diff --git a/src/examples/demo_https.c b/src/examples/demo_https.c
index 14ca0bf7..f2230b16 100644
--- a/src/examples/demo_https.c
+++ b/src/examples/demo_https.c
@@ -51,6 +51,12 @@
 #define CPU_COUNT 2
 #endif
 
+#ifndef PATH_MAX
+/* Some platforms (namely: GNU Hurd) do no define PATH_MAX.
+   As it is only example for MHD, just use reasonable value for PATH_MAX. */
+#define PATH_MAX 16384
+#endif
+
 /**
  * Number of threads to run in the thread pool.  Should (roughly) match
  * the number of cores on your system.

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]