Browse Source

Merge pull request #1629 from Root-Core/patch-1

Adapted POSIX feature defines to be equal to other places
Stefan Profanter 7 years ago
parent
commit
379c564993
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/client_subscription_loop.c

+ 1 - 1
examples/client_subscription_loop.c

@@ -2,7 +2,7 @@
  * See http://creativecommons.org/publicdomain/zero/1.0/ for more information. */
 
 /* Enable POSIX features */
-#ifndef _XOPEN_SOURCE
+#if !defined(_XOPEN_SOURCE) && !defined(_WRS_KERNEL)
 # define _XOPEN_SOURCE 600
 #endif
 #ifndef _DEFAULT_SOURCE