u.h: define __USE_POSIX to make glibc happy
glibc will only expose sigjmp_buf if __USE_POSIX is defined.
This commit is contained in:
committed by
David du Colombier
parent
53ed65a982
commit
f97483e519
@@ -40,7 +40,7 @@ extern "C" {
|
|||||||
#endif
|
#endif
|
||||||
#define _LARGEFILE64_SOURCE 1
|
#define _LARGEFILE64_SOURCE 1
|
||||||
#define _FILE_OFFSET_BITS 64
|
#define _FILE_OFFSET_BITS 64
|
||||||
|
#define __USE_POSIX 1 //needed for sigjmp_buf in glibc setjmp.h
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
|
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user