Skip to content

Commit

Permalink
add defines for large file support to standard CFLAGS
Browse files Browse the repository at this point in the history
- this fixes a compiler warning about the redefinition of
  SIZEOF_OFF_T in the python bindings, because python is
  compiled with large file support.
  • Loading branch information
sumit-bose authored and sgallagher committed Sep 25, 2009
1 parent 039ccb4 commit 9867caa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ AC_DEFUN([SMB_ENABLE], [echo -n ""])
AC_INIT([sss_daemon],
m4_esyscmd([cat ../VERSION |head -n1 | tr -d '\n']),
[[email protected]])
CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE"

AC_CONFIG_SRCDIR([conf_macros.m4])
AC_CONFIG_AUX_DIR([build])

Expand Down

0 comments on commit 9867caa

Please sign in to comment.