Moved definition of _BSD_SOURCE earlier

This commit is contained in:
Phil Nash committed 2017-03-01 15:59:10 +00:00
1 parent ff78e7c45a
commit 673ec550f5
2 files changed
+5 -6

No files matched your search

+1 -6
View File
@@ -20,13 +20,8 @@
#else
// Required for some versions of Cygwin to declare gettimeofday
// see: http://stackoverflow.com/questions/36901803/gettimeofday-not-declared-in-this-scope-cygwin
# ifdef __CYGWIN__
# define _BSD_SOURCE
# endif
#include <sys/time.h>
#endif
namespace Catch {