Repository: qpid-proton
Updated Branches:
  refs/heads/master ed23beaf2 -> f7490003d


NO-JIRA: Ensure _GNU_SOURCE & _POSIX_C_SOURCE are not redefined


Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/f7490003
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/f7490003
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/f7490003

Branch: refs/heads/master
Commit: f7490003d3d88ee695cdbaaee887fb0c22a140a0
Parents: ed23bea
Author: Andrew Stitcher <[email protected]>
Authored: Fri May 19 09:54:00 2017 -0400
Committer: Andrew Stitcher <[email protected]>
Committed: Fri May 19 09:54:00 2017 -0400

----------------------------------------------------------------------
 proton-c/src/proactor/epoll.c | 2 ++
 proton-c/src/proactor/libuv.c | 2 ++
 2 files changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/f7490003/proton-c/src/proactor/epoll.c
----------------------------------------------------------------------
diff --git a/proton-c/src/proactor/epoll.c b/proton-c/src/proactor/epoll.c
index d79f0da..a1ec1af 100644
--- a/proton-c/src/proactor/epoll.c
+++ b/proton-c/src/proactor/epoll.c
@@ -20,7 +20,9 @@
  */
 
 /* Enable POSIX features for pthread.h */
+#ifndef _GNU_SOURCE
 #define _GNU_SOURCE
+#endif
 
 #include "../core/log_private.h"
 #include "proactor-internal.h"

http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/f7490003/proton-c/src/proactor/libuv.c
----------------------------------------------------------------------
diff --git a/proton-c/src/proactor/libuv.c b/proton-c/src/proactor/libuv.c
index 50f98fd..cf7a31b 100644
--- a/proton-c/src/proactor/libuv.c
+++ b/proton-c/src/proactor/libuv.c
@@ -20,7 +20,9 @@
  */
 
 /* Enable POSIX features for uv.h */
+#ifndef _POSIX_C_SOURCE
 #define _POSIX_C_SOURCE 200809L
+#endif
 
 #include "../core/log_private.h"
 #include "proactor-internal.h"


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to