Set _DEFAULT_SOURCE and _GNU_SOURCE globally. (#2010)
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
This commit is contained in:
@@ -41,8 +41,6 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#define _GNU_SOURCE
|
||||
|
||||
#include <stdio.h>
|
||||
#include <ctype.h>
|
||||
// #include <sys/time.h>
|
||||
|
||||
Vendored
-3
@@ -81,9 +81,6 @@
|
||||
#ifndef INCLUDE_PORTABILITY_H_
|
||||
#define INCLUDE_PORTABILITY_H_
|
||||
|
||||
#ifndef _GNU_SOURCE
|
||||
#define _GNU_SOURCE 1
|
||||
#endif // _GNU_SOURCE
|
||||
#ifndef __STDC_FORMAT_MACROS
|
||||
#define __STDC_FORMAT_MACROS 1
|
||||
#endif // __STDC_FORMAT_MACROS
|
||||
|
||||
Reference in New Issue
Block a user