about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2022-12-04 21:39:19 +0000
committerThomas E. Dickey <dickey@invisible-island.net>2022-12-04 22:45:08 +0000
commit6e7cae400154d3d8bca99ceef49dde1518695731 (patch)
tree630baec8b414d865a7391dcdb1a456562ffc1f3e /src
parent4878442d6383197772806ca0008ed8e270cd92f8 (diff)
downloadlynx-snapshots-6e7cae400154d3d8bca99ceef49dde1518695731.tar.gz
snapshot of project "lynx", label v2-9-0dev_10n
Diffstat (limited to 'src')
-rw-r--r--src/LYBookmark.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LYBookmark.c b/src/LYBookmark.c
index 69622d4a..8cbd1a70 100644
--- a/src/LYBookmark.c
+++ b/src/LYBookmark.c
@@ -1,5 +1,5 @@
 /*
- * $LynxId: LYBookmark.c,v 1.86 2022/07/26 14:39:20 tom Exp $
+ * $LynxId: LYBookmark.c,v 1.87 2022/12/04 20:41:31 tom Exp $
  */
 #include <HTUtils.h>
 #include <HTAlert.h>
@@ -198,7 +198,7 @@ static BOOLEAN havevisible(const char *Title);
 static BOOLEAN have8bit(const char *Title);
 static char *title_convert8bit(const char *Title);
 
-#ifdef _WINDOWS
+#if defined(_WINDOWS) && !defined(ftruncate)
 #define ftruncate(fd, len) _chsize(fd, len)
 #endif