Merge pull request #30 from killgallic/master

Add _DARWIN_C_SOURCE to allow compiling on OSX
This commit is contained in:
Kevin Lange 2014-07-28 22:15:32 -07:00
commit b2458fa06d

View File

@ -50,6 +50,7 @@
*/ */
#define _XOPEN_SOURCE 500 #define _XOPEN_SOURCE 500
#define _DARWIN_C_SOURCE 1
#include <ctype.h> #include <ctype.h>
#include <stdio.h> #include <stdio.h>
#include <stdint.h> #include <stdint.h>