summaryrefslogtreecommitdiffstats
path: root/macosx/tclMacOSXFCmd.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-12-04 17:55:36 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-12-04 17:55:36 (GMT)
commit6e413c43c808774a91f542de590fb533b0fdd1c7 (patch)
tree6e6cd346bc3af66a5ee4840373769c802caa4519 /macosx/tclMacOSXFCmd.c
parente4eeed0516b806c6a7b336a9853ac45403475b78 (diff)
downloadtcl-6e413c43c808774a91f542de590fb533b0fdd1c7.zip
tcl-6e413c43c808774a91f542de590fb533b0fdd1c7.tar.gz
tcl-6e413c43c808774a91f542de590fb533b0fdd1c7.tar.bz2
Remove a lot of dead code: macOS < 10.9 is no longer supported
Diffstat (limited to 'macosx/tclMacOSXFCmd.c')
-rw-r--r--macosx/tclMacOSXFCmd.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/macosx/tclMacOSXFCmd.c b/macosx/tclMacOSXFCmd.c
index 3ff3d24..42c322b 100644
--- a/macosx/tclMacOSXFCmd.c
+++ b/macosx/tclMacOSXFCmd.c
@@ -22,26 +22,12 @@
#ifdef HAVE_COPYFILE
#ifdef HAVE_COPYFILE_H
#include <copyfile.h>
-#if defined(HAVE_WEAK_IMPORT) && (MAC_OS_X_VERSION_MIN_REQUIRED < 1040)
-/* Support for weakly importing copyfile. */
-#define WEAK_IMPORT_COPYFILE
-extern int copyfile(const char *from, const char *to,
- copyfile_state_t state, copyfile_flags_t flags)
- WEAK_IMPORT_ATTRIBUTE;
-#endif /* HAVE_WEAK_IMPORT */
#else /* HAVE_COPYFILE_H */
int copyfile(const char *from, const char *to,
void *state, uint32_t flags);
#define COPYFILE_ACL (1<<0)
#define COPYFILE_XATTR (1<<2)
#define COPYFILE_NOFOLLOW_SRC (1<<18)
-#if defined(HAVE_WEAK_IMPORT) && (MAC_OS_X_VERSION_MIN_REQUIRED < 1040)
-/* Support for weakly importing copyfile. */
-#define WEAK_IMPORT_COPYFILE
-extern int copyfile(const char *from, const char *to,
- void *state, uint32_t flags)
- WEAK_IMPORT_ATTRIBUTE;
-#endif /* HAVE_WEAK_IMPORT */
#endif /* HAVE_COPYFILE_H */
#endif /* HAVE_COPYFILE */