diff options
author | Steve Bennett <steveb@workware.net.au> | 2023-02-06 09:43:29 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2023-02-13 10:44:10 +1000 |
commit | b8f4c28ae643f1661c93b8fa19b7df6ac67fa8f6 (patch) | |
tree | ff01b476a1261eb93bc0b4c2059eaa87c6642365 /auto.def | |
parent | 6bdec684893b766f247e365fbb8fad7e37b2864b (diff) | |
download | jimtcl-b8f4c28ae643f1661c93b8fa19b7df6ac67fa8f6.zip jimtcl-b8f4c28ae643f1661c93b8fa19b7df6ac67fa8f6.tar.gz jimtcl-b8f4c28ae643f1661c93b8fa19b7df6ac67fa8f6.tar.bz2 |
windows: compatibility changes
_fullpath isn't necessarily available, so check for it
symlink() isn't useful enough on Windows to use
Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'auto.def')
-rw-r--r-- | auto.def | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -247,11 +247,14 @@ if {[cc-check-function-in-lib socket socket]} { } cc-check-functions ualarm lstat fork system select execvpe -cc-check-functions geteuid mkstemp realpath isatty +cc-check-functions geteuid mkstemp isatty cc-check-functions regcomp waitpid sigaction sys_signame sys_siglist isascii cc-check-functions syslog opendir readlink sleep usleep pipe getaddrinfo utimes cc-check-functions shutdown socketpair link symlink fsync dup umask cc-check-functions localtime gmtime strptime clock_gettime +if {![cc-check-functions realpath]} { + cc-check-functions _fullpath +} cc-with {-includes math.h} { cc-check-decls isinf isnan |