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

github.com/moses-smt/salm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHieu Hoang <hieuhoang@gmail.com>2015-04-06 21:42:08 +0300
committerHieu Hoang <hieuhoang@gmail.com>2015-04-06 21:42:08 +0300
commita5c328c9d0f1a6bdbde2e2e182fec1a91d44461f (patch)
treed223cf9bdac55c849dae0901e0274e5b8c9db5e4
parenta146dbec8f0391e247db1ae4c9b7af5c225436f9 (diff)
compiles on osx
-rwxr-xr-xSrc/IndexSA/_MonoCorpus.cpp2
-rwxr-xr-xSrc/Shared/_String.cpp3
-rwxr-xr-xSrc/SuffixArrayApplications/_SuffixArrayApplicationBase.cpp1
3 files changed, 2 insertions, 4 deletions
diff --git a/Src/IndexSA/_MonoCorpus.cpp b/Src/IndexSA/_MonoCorpus.cpp
index ab53813..fe3ce38 100755
--- a/Src/IndexSA/_MonoCorpus.cpp
+++ b/Src/IndexSA/_MonoCorpus.cpp
@@ -4,9 +4,9 @@
**/
#include "_MonoCorpus.h"
-#include "malloc.h"
#include "time.h"
+#include <stdlib.h>
#include <fstream>
#include <iostream>
#include <cstring>
diff --git a/Src/Shared/_String.cpp b/Src/Shared/_String.cpp
index 75ba8e8..153a980 100755
--- a/Src/Shared/_String.cpp
+++ b/Src/Shared/_String.cpp
@@ -5,10 +5,9 @@
**/
#include "_String.h"
-#include "malloc.h"
#include "string.h"
#include "stdio.h"
-#include "stdlib.h"
+#include <stdlib.h>
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
diff --git a/Src/SuffixArrayApplications/_SuffixArrayApplicationBase.cpp b/Src/SuffixArrayApplications/_SuffixArrayApplicationBase.cpp
index 91962fe..7e9b14a 100755
--- a/Src/SuffixArrayApplications/_SuffixArrayApplicationBase.cpp
+++ b/Src/SuffixArrayApplications/_SuffixArrayApplicationBase.cpp
@@ -5,7 +5,6 @@
#include "_SuffixArrayApplicationBase.h"
-#include "malloc.h"
#include "time.h"
#include <iostream>