timegm ifdef in appropriate file

This commit is contained in:
jorenchik
2024-12-08 12:21:09 +02:00
parent 5df0bf864f
commit 920e74c8d6
2 changed files with 5 additions and 5 deletions

View File

@@ -18,6 +18,11 @@
#include "parser.h"
#include "stringUtils.h"
// Uz Windows sistēmās timegm funkcijai ir atšķirīgs nosaukums.
#ifdef _WIN32
#define timegm _mkgmtime
#endif
typedef std::map<TokenType, std::vector<TokenType>> TokenTransitions;
TokenTransitions *transitions = nullptr;