File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 81
81
# define CATCH_INTERNAL_CONFIG_NO_POSIX_SIGNALS
82
82
# endif
83
83
84
+ // Required for some versions of Cygwin to declare gettimeofday
85
+ // see: http://stackoverflow.com/questions/36901803/gettimeofday-not-declared-in-this-scope-cygwin
86
+ # define _BSD_SOURCE
87
+
84
88
#endif // __CYGWIN__
85
89
86
90
// //////////////////////////////////////////////////////////////////////////////
Original file line number Diff line number Diff line change 20
20
21
21
#else
22
22
23
- // Required for some versions of Cygwin to declare gettimeofday
24
- // see: http://stackoverflow.com/questions/36901803/gettimeofday-not-declared-in-this-scope-cygwin
25
- # ifdef __CYGWIN__
26
- # define _BSD_SOURCE
27
- # endif
28
-
29
23
#include < sys/time.h>
24
+
30
25
#endif
31
26
32
27
namespace Catch {
You can’t perform that action at this time.
0 commit comments