Added -D_DARWIN_C_SOURCE=1 to compiler flags to ensure non-default extensions, including snprintf defined.
Merge pull request #3 from barneywilliams/master

Added -D_DARWIN_C_SOURCE=1 to compiler flags to ensure non-default exten...