summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/configure.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/configure.in b/source3/configure.in
index a1388fdff1..09db1edfce 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -622,6 +622,10 @@ exit(1);
fi
AC_MSG_RESULT([$GLIBC_LFS_SUPPORT])
;;
+ *qnx*)
+ CPPFLAGS="-D_LARGEFILE64_SOURCE $CPPFLAGS"
+ AC_DEFINE(_LARGEFILE64_SOURCE, 1, [Whether to enable large file support])
+ ;;
esac