Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Vermeulen <jtv@precisiontranslationtools.com>2015-04-10 08:54:34 +0300
committerJeroen Vermeulen <jtv@precisiontranslationtools.com>2015-04-10 08:54:34 +0300
commit8a3ae2fd5c4fc11fafe2ba64cf29a655688f043a (patch)
tree4b69f6aa223f620a10ff1b5925b88a156142665b /mert/evaluator.cpp
parent0698da8b0fd54825bdafbfffdd66f78ca2857927 (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.cpp1
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>