components/apr-1_5/patches/largefile.patch
changeset 1899 a814d85099bf
equal deleted inserted replaced
1898:5c902a3c6e7e 1899:a814d85099bf
       
     1 Patch origin: in-house
       
     2 Patch status: Solaris-specific; not suitable for upstream
       
     3 
       
     4 This seems to be the only way to propagate these macros also
       
     5 into apr-1-config.
       
     6 
       
     7 --- build/apr_hints.m4	2013-10-14 12:03:08.000000000 -0700
       
     8 +++ build/apr_hints.m4	2014-05-15 01:31:40.239384758 -0700
       
     9 @@ -237,6 +237,7 @@
       
    10      *-solaris2*)
       
    11      	PLATOSVERS=`echo $host | sed 's/^.*solaris2.//'`
       
    12  	APR_ADDTO(CPPFLAGS, [-DSOLARIS2=$PLATOSVERS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT])
       
    13 +	APR_ADDTO(CPPFLAGS, [-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64])
       
    14          if test $PLATOSVERS -ge 10; then
       
    15              APR_SETIFNULL(apr_lock_method, [USE_PROC_PTHREAD_SERIALIZE])
       
    16          else