summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2005-09-15 15:30:37 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2005-09-15 15:30:37 (GMT)
commit75aee26af34aeea93c32910c88c0d5cef7077ff7 (patch)
treea683c2ac62ab66d041efa88b3e485aa3fe043971 /unix
parent62b5bf66c2c8dda87b14b78f81bc58a02cdfb172 (diff)
downloadtcl-75aee26af34aeea93c32910c88c0d5cef7077ff7.zip
tcl-75aee26af34aeea93c32910c88c0d5cef7077ff7.tar.gz
tcl-75aee26af34aeea93c32910c88c0d5cef7077ff7.tar.bz2
More flags hacking, this time for open64 under RHEL3. [Bug 1287638]
Diffstat (limited to 'unix')
-rw-r--r--unix/tcl.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index cc5f284..aa6e870 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -2522,6 +2522,8 @@ AC_DEFUN(SC_TCL_EARLY_FLAGS,[
[char *p = (char *)strtoll; char *q = (char *)strtoull;])
SC_TCL_EARLY_FLAG(_LARGEFILE64_SOURCE,[#include <sys/stat.h>],
[struct stat64 buf; int i = stat64("/", &buf);])
+ SC_TCL_EARLY_FLAG(_LARGEFILE_SOURCE64,[#include <sys/stat.h>],
+ [char *p = (char *)open64;])
if test "x${tcl_flags}" = "x" ; then
AC_MSG_RESULT(none)
else