aboutsummaryrefslogtreecommitdiff
path: root/jim-aio.c
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2025-02-24 09:14:09 +1000
committerSteve Bennett <steveb@workware.net.au>2025-02-24 09:14:09 +1000
commit2080ce323acd95b67218fc2c88e0d3fa8d28cc14 (patch)
treeabd3136ed252af6299ef99e550b9e90b401aa773 /jim-aio.c
parentb0e7efa96c9868d1006af376cd699f17e7875e07 (diff)
downloadjimtcl-2080ce323acd95b67218fc2c88e0d3fa8d28cc14.zip
jimtcl-2080ce323acd95b67218fc2c88e0d3fa8d28cc14.tar.gz
jimtcl-2080ce323acd95b67218fc2c88e0d3fa8d28cc14.tar.bz2
Use PATH_MAX if it exists
Previously this was done in jim-file.c but no jim-aio.c Move to jimiocompat.h so it is done everywhere. Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'jim-aio.c')
-rw-r--r--jim-aio.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/jim-aio.c b/jim-aio.c
index f43eaac..221d7f5 100644
--- a/jim-aio.c
+++ b/jim-aio.c
@@ -116,10 +116,6 @@ enum wbuftype {
#define UNIX_SOCKETS 0
#endif
-#ifndef MAXPATHLEN
-#define MAXPATHLEN JIM_PATH_LEN
-#endif
-
#if defined(HAVE_SOCKETS) && !defined(JIM_BOOTSTRAP)
/* Avoid type punned pointers */
union sockaddr_any {