mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-24 11:41:58 +00:00
get strtoll on freebsd
This commit is contained in:
parent
d7cad2acdb
commit
838874f064
1 changed files with 8 additions and 0 deletions
|
@ -20,6 +20,14 @@ extern "C" {
|
|||
# define _XOPEN_SOURCE 1000
|
||||
# define _XOPEN_SOURCE_EXTENDED 1
|
||||
#endif
|
||||
#if defined(__FreeBSD__)
|
||||
# include <sys/cdefs.h>
|
||||
/* for strtoll */
|
||||
# undef __ISO_C_VISIBLE
|
||||
# define __ISO_C_VISIBLE 1999
|
||||
# undef __LONG_LONG_SUPPORTED
|
||||
# define __LONG_LONG_SUPPORTED
|
||||
#endif
|
||||
#define _LARGEFILE64_SOURCE 1
|
||||
#define _FILE_OFFSET_BITS 64
|
||||
|
||||
|
|
Loading…
Reference in a new issue