Skip to content

Commit

Permalink
add gmtime msvc macro
Browse files Browse the repository at this point in the history
  • Loading branch information
cieslarmichal committed Oct 1, 2023
1 parent dfed28b commit a5b1c98
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/modules/date/DateTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
#include "data/MonthNames.h"
#include "data/WeekdayNames.h"

#ifdef _WIN32
#define timegm _mkgmtime
#endif

using namespace ::testing;
using namespace faker;

Expand Down

0 comments on commit a5b1c98

Please sign in to comment.