diff options
author | Jeroen Vermeulen <jtv@precisiontranslationtools.com> | 2015-04-10 08:54:34 +0300 |
---|---|---|
committer | Jeroen Vermeulen <jtv@precisiontranslationtools.com> | 2015-04-10 08:54:34 +0300 |
commit | 8a3ae2fd5c4fc11fafe2ba64cf29a655688f043a (patch) | |
tree | 4b69f6aa223f620a10ff1b5925b88a156142665b /mert/evaluator.cpp | |
parent | 0698da8b0fd54825bdafbfffdd66f78ca2857927 (diff) |
Portability and include fixes.
Add <cstdlib> include for srand()/rand(), and <unistd.h> for open() etc.
Include <unistd.h> on Windows if using MinGW. Disable MeteorScorer on
Windows, since it doesn't have fork() and pipe().
Diffstat (limited to 'mert/evaluator.cpp')
-rw-r--r-- | mert/evaluator.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mert/evaluator.cpp b/mert/evaluator.cpp index 25da9adbc..4e791fc6e 100644 --- a/mert/evaluator.cpp +++ b/mert/evaluator.cpp @@ -1,3 +1,4 @@ +#include <cstdlib> #include <fstream> #include <iostream> #include <string> |