diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-10-09 07:10:22 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-10-09 07:10:22 (GMT) |
commit | e250b6f551523bf4b6fb9ae110bac1279d5eb581 (patch) | |
tree | a0eb61b9b65683367a852129b5010a20c5efa201 /unix | |
parent | e53cbf77bf43398c097556b24a5c1e6a26e56b40 (diff) | |
download | tcl-e250b6f551523bf4b6fb9ae110bac1279d5eb581.zip tcl-e250b6f551523bf4b6fb9ae110bac1279d5eb581.tar.gz tcl-e250b6f551523bf4b6fb9ae110bac1279d5eb581.tar.bz2 |
(cherry-pick): Fix [014ade1d44]: Misleading error message when using "-path" multiple times with "glob".
Also fix a few (harmless) -Wundef warnings
Diffstat (limited to 'unix')
-rw-r--r-- | unix/tclLoadDyld.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/unix/tclLoadDyld.c b/unix/tclLoadDyld.c index 0a36215..c71727d 100644 --- a/unix/tclLoadDyld.c +++ b/unix/tclLoadDyld.c @@ -633,14 +633,14 @@ TclpLoadMemory( uint32_t ms = 0; #ifndef __LP64__ const struct mach_header *mh = NULL; - #define mh_size sizeof(struct mach_header) - #define mh_magic MH_MAGIC - #define arch_abi 0 +# define mh_size sizeof(struct mach_header) +# define mh_magic MH_MAGIC +# define arch_abi 0 #else const struct mach_header_64 *mh = NULL; - #define mh_size sizeof(struct mach_header_64) - #define mh_magic MH_MAGIC_64 - #define arch_abi CPU_ARCH_ABI64 +# define mh_size sizeof(struct mach_header_64) +# define mh_magic MH_MAGIC_64 +# define arch_abi CPU_ARCH_ABI64 #endif if ((size_t) codeSize >= sizeof(struct fat_header) |