my_global.h:
Fix for bug #15841: Change in sql_map.cc and mmap breaks on HP-UX - in order to enable the mmap64() (and others) define _LARGEFILE64_SOURCE in case of _LARGEFILE_SOURCE defined on HPUX.
This commit is contained in:
parent
e9282ff3d0
commit
b898368a93
@ -415,6 +415,9 @@ C_MODE_END
|
||||
#include <assert.h>
|
||||
|
||||
/* Go around some bugs in different OS and compilers */
|
||||
#if defined (HPUX11) && defined(_LARGEFILE_SOURCE)
|
||||
#define _LARGEFILE64_SOURCE
|
||||
#endif
|
||||
#if defined(_HPUX_SOURCE) && defined(HAVE_SYS_STREAM_H)
|
||||
#include <sys/stream.h> /* HPUX 10.20 defines ulong here. UGLY !!! */
|
||||
#define HAVE_ULONG
|
||||
|
Loading…
x
Reference in New Issue
Block a user