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

github.com/moses-smt/mgiza.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mgizapp/src/utility.cpp')
-rw-r--r--mgizapp/src/utility.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/mgizapp/src/utility.cpp b/mgizapp/src/utility.cpp
index 15b4783..87051d2 100644
--- a/mgizapp/src/utility.cpp
+++ b/mgizapp/src/utility.cpp
@@ -32,15 +32,7 @@ double factorial(int n)
f *= i;
return f;
}
-#ifdef WIN32
-string my_ctime(const time_t* t){
- char buffer[256];
- ctime_s(buffer,256,t);
- return buffer;
-}
-#else
string my_ctime(const time_t* t){
return ctime(t);
}
-#endif