summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Kraai <mkraai@beckman.com>2009-07-01 12:44:03 -0700
committerBjörn Jacke <bj@sernet.de>2009-07-03 11:43:52 +0200
commit0b06aa23049f49b985432c6b18c8a888a079eca1 (patch)
tree1a46efc2a9077b2fb50b73eeab225130779606f0
parent06a9678aad549d23583d860ecd57b221b25f15b6 (diff)
downloadsamba-0b06aa23049f49b985432c6b18c8a888a079eca1.tar.gz
samba-0b06aa23049f49b985432c6b18c8a888a079eca1.tar.bz2
samba-0b06aa23049f49b985432c6b18c8a888a079eca1.zip
s3:configure: define _LARGEFILE64_SOURCE on QNX
-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