Skip to content

Commit

Permalink
Fix solaris 32 bit build
Browse files Browse the repository at this point in the history
32 bit solaris doesn't support _FILE_OFFSET_BITS=64 and on 64 bit it is
enabled by default.
  • Loading branch information
samcv committed Apr 10, 2018
1 parent 957bb4b commit 45a3e8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/setup.pm
Expand Up @@ -493,7 +493,7 @@ our %OS_GNUKFREEBSD = (
our %OS_SOLARIS = (
%OS_POSIX,

defs => [ qw( _XOPEN_SOURCE=500 _XOPEN_SOURCE_EXTENDED=1 __EXTENSIONS__=1 _POSIX_PTHREAD_SEMANTICS _REENTRANT _FILE_OFFSET_BITS=64 ) ],
defs => [ qw( _XOPEN_SOURCE=500 _XOPEN_SOURCE_EXTENDED=1 __EXTENSIONS__=1 _POSIX_PTHREAD_SEMANTICS _REENTRANT ) ],
syslibs => [ qw( socket sendfile nsl pthread kstat m rt ) ],
mknoisy => '',

Expand Down

0 comments on commit 45a3e8e

Please sign in to comment.