summaryrefslogtreecommitdiffstats
path: root/thirdparty/mbedtls/library/entropy_poll.c
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2024-08-31 15:25:10 +0200
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2024-08-31 15:35:37 +0200
commit4ac1f9c08a0e40c01f2b7024de51ecd23a68eec3 (patch)
treefdc1005eed758865923a0b17eb525dd6fb488d73 /thirdparty/mbedtls/library/entropy_poll.c
parent40b378e9e2338d84f897f6991cc913a713295785 (diff)
downloadredot-engine-4ac1f9c08a0e40c01f2b7024de51ecd23a68eec3.tar.gz
[mbedTLS] Update to 3.6.1
Diffstat (limited to 'thirdparty/mbedtls/library/entropy_poll.c')
-rw-r--r--thirdparty/mbedtls/library/entropy_poll.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/thirdparty/mbedtls/library/entropy_poll.c b/thirdparty/mbedtls/library/entropy_poll.c
index 794ee03a83..611768cd85 100644
--- a/thirdparty/mbedtls/library/entropy_poll.c
+++ b/thirdparty/mbedtls/library/entropy_poll.c
@@ -5,10 +5,12 @@
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
*/
-#if defined(__linux__) || defined(__midipix__) && !defined(_GNU_SOURCE)
+#if defined(__linux__) || defined(__midipix__)
/* Ensure that syscall() is available even when compiling with -std=c99 */
+#if !defined(_GNU_SOURCE)
#define _GNU_SOURCE
#endif
+#endif
#include "common.h"