Use _GNU_SOURCE instead of POSIX_SOURCE for fileno()
Maybe that will work with FreeBSD
This commit is contained in:
parent
a4e3ce31dd
commit
cb289125ab
4
glfw/ibus_glfw.c
vendored
4
glfw/ibus_glfw.c
vendored
@ -24,10 +24,8 @@
|
|||||||
//
|
//
|
||||||
//========================================================================
|
//========================================================================
|
||||||
|
|
||||||
// _POSIX_C_SOURCE needed for fileno() on Linux systems
|
#define _GNU_SOURCE
|
||||||
#define _POSIX_C_SOURCE 1
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#undef _POSIX_C_SOURCE
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user