diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-12-04 20:31:44 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-12-04 20:31:44 (GMT) |
| commit | 93b8f2c30656668655ffad72004b3a56525f0ab7 (patch) | |
| tree | af50bcec85c53b3240e016810f9b6d82a643822a /macosx/tclMacOSXFCmd.c | |
| parent | 1d7743062b46a9021442e694fb0ce567267a9bb6 (diff) | |
| parent | 6e413c43c808774a91f542de590fb533b0fdd1c7 (diff) | |
| download | tcl-93b8f2c30656668655ffad72004b3a56525f0ab7.zip tcl-93b8f2c30656668655ffad72004b3a56525f0ab7.tar.gz tcl-93b8f2c30656668655ffad72004b3a56525f0ab7.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.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/macosx/tclMacOSXFCmd.c b/macosx/tclMacOSXFCmd.c index 15b4fcd..16a728f 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 */ |
