Skip to content

Commit

Permalink
Provide timegm alternative on Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kasper Peeters committed Dec 19, 2024
1 parent 1118e13 commit b03faf9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client_server/Snoop.cc
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
#endif
#endif
#include <time.h>
#ifdef _WIN32
#define timegm _mkgmtime
#endif
#include <stdint.h>
#include <set>
#include "nlohmann/json.hpp"
Expand Down

0 comments on commit b03faf9

Please sign in to comment.