make sure getw/putw agree with prototypes by defining _GNU_SOURCE
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
#define _GNU_SOURCE
|
||||
#include <stdio.h>
|
||||
|
||||
int getw(FILE *f)
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#define _GNU_SOURCE
|
||||
#include <stdio.h>
|
||||
|
||||
int putw(int x, FILE *f)
|
||||
|
||||
Reference in New Issue
Block a user