mirror of
https://github.com/jorenchik/mdemory.git
synced 2026-03-22 00:26:21 +00:00
timegm ifdef in appropriate file
This commit is contained in:
@@ -10,11 +10,6 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "result.h"
|
#include "result.h"
|
||||||
|
|
||||||
// Uz Windows sistēmās timegm funkcijai ir atšķirīgs nosaukums.
|
|
||||||
#ifdef _WIN32
|
|
||||||
#define timegm _mkgmtime
|
|
||||||
#endif
|
|
||||||
|
|
||||||
std::vector<Token> tokens;
|
std::vector<Token> tokens;
|
||||||
std::vector<char> buffer;
|
std::vector<char> buffer;
|
||||||
int32_t row;
|
int32_t row;
|
||||||
|
|||||||
@@ -18,6 +18,11 @@
|
|||||||
#include "parser.h"
|
#include "parser.h"
|
||||||
#include "stringUtils.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;
|
typedef std::map<TokenType, std::vector<TokenType>> TokenTransitions;
|
||||||
|
|
||||||
TokenTransitions *transitions = nullptr;
|
TokenTransitions *transitions = nullptr;
|
||||||
|
|||||||
Reference in New Issue
Block a user