summaryrefslogtreecommitdiffstats
path: root/unix/tclLoadDyld.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-08-22 12:41:18 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-08-22 12:41:18 (GMT)
commitce7266460628240a50654631d0f6665b35ec159e (patch)
tree103f81bcb4532f77e27af8e89e93184b49c90442 /unix/tclLoadDyld.c
parent0eb18d8f91a939668e9b3230f938d91805598414 (diff)
parent5210283d105dd5baf07880dce96c9382c690321f (diff)
downloadtcl-ce7266460628240a50654631d0f6665b35ec159e.zip
tcl-ce7266460628240a50654631d0f6665b35ec159e.tar.gz
tcl-ce7266460628240a50654631d0f6665b35ec159e.tar.bz2
merge core-8-6-branch
Diffstat (limited to 'unix/tclLoadDyld.c')
-rw-r--r--unix/tclLoadDyld.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/unix/tclLoadDyld.c b/unix/tclLoadDyld.c
index 8b7dc58..e998bf9 100644
--- a/unix/tclLoadDyld.c
+++ b/unix/tclLoadDyld.c
@@ -48,7 +48,9 @@
#endif /* TCL_DYLD_USE_DLFCN */
#if TCL_DYLD_USE_NSMODULE || defined(TCL_LOAD_FROM_MEMORY)
+#if defined (__clang__) || ((__GNUC__) && ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ > 5))))
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
+#endif
#include <mach-o/dyld.h>
#include <mach-o/fat.h>
#include <mach-o/swap.h>