This is an automated email from the ASF dual-hosted git repository.
kpvdr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/qpid-proton.git
The following commit(s) were added to refs/heads/master by this push:
new 11fc1d4 PROTON-2120: Fix for threaderciser compile issue on CentOS7
etc.
11fc1d4 is described below
commit 11fc1d4a99759c7e874807491cedf95555ebea41
Author: Kim van der Riet <[email protected]>
AuthorDate: Fri Oct 25 16:33:15 2019 -0400
PROTON-2120: Fix for threaderciser compile issue on CentOS7 etc.
---
c/tests/threaderciser.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/c/tests/threaderciser.c b/c/tests/threaderciser.c
index 71400eb..038d4b8 100644
--- a/c/tests/threaderciser.c
+++ b/c/tests/threaderciser.c
@@ -44,6 +44,11 @@
- sending/receiving/tracking messages
*/
+/* Enable POSIX features beyond c99 for modern pthread and standard
strerror_r() */
+#ifndef _POSIX_C_SOURCE
+#define _POSIX_C_SOURCE 200809L
+#endif
+
#include "thread.h"
#include <proton/connection.h>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]