Skip to content
Permalink
Browse files

entropy_poll: define _GNU_SOURCE only if it's not defined

  • Loading branch information...
avtolstoy committed Jul 24, 2019
1 parent 819c4aa commit 4e4e631f48e72448213ac340e172ea8442dc442b
Showing with 1 addition and 1 deletion.
  1. +1 −1 library/entropy_poll.c
@@ -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

0 comments on commit 4e4e631

Please sign in to comment.
You can’t perform that action at this time.