summaryrefslogtreecommitdiff
path: root/main/openssl/crypto/dso/dso_dlfcn.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/openssl/crypto/dso/dso_dlfcn.c')
-rw-r--r--main/openssl/crypto/dso/dso_dlfcn.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/main/openssl/crypto/dso/dso_dlfcn.c b/main/openssl/crypto/dso/dso_dlfcn.c
index 4a56aace..faa9d76b 100644
--- a/main/openssl/crypto/dso/dso_dlfcn.c
+++ b/main/openssl/crypto/dso/dso_dlfcn.c
@@ -60,10 +60,8 @@
that handle _GNU_SOURCE and other similar macros. Defining it later
is simply too late, because those headers are protected from re-
inclusion. */
-#ifdef __linux
-# ifndef _GNU_SOURCE
-# define _GNU_SOURCE /* make sure dladdr is declared */
-# endif
+#ifndef _GNU_SOURCE
+# define _GNU_SOURCE /* make sure dladdr is declared */
#endif
#include <stdio.h>