Skip to content

Commit

Permalink
entropy_poll: define _GNU_SOURCE only if it's not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
avtolstoy committed Jul 24, 2019
1 parent 819c4aa commit 4e4e631
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/entropy_poll.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* This file is part of mbed TLS (https://tls.mbed.org)
*/

#if defined(__linux__)
#if defined(__linux__) && !defined(_GNU_SOURCE)
/* Ensure that syscall() is available even when compiling with -std=c99 */
#define _GNU_SOURCE
#endif
Expand Down

0 comments on commit 4e4e631

Please sign in to comment.