Merge pull request #40 from archey/master

added _DEFAULT_SOURCE to fix compilation warnings on gcc 5
This commit is contained in:
Kevin Lange 2016-08-24 11:25:30 +09:00 committed by GitHub
commit c925313a7a

View File

@ -52,6 +52,7 @@
#define _XOPEN_SOURCE 500 #define _XOPEN_SOURCE 500
#define _DARWIN_C_SOURCE 1 #define _DARWIN_C_SOURCE 1
#define _BSD_SOURCE #define _BSD_SOURCE
#define _DEFAULT_SOURCE
#define __BSD_VISIBLE 1 #define __BSD_VISIBLE 1
#include <ctype.h> #include <ctype.h>
#include <stdio.h> #include <stdio.h>