Disable prebuild.bat in linux temoprarily. Will add this function in linux version soon.

This commit is contained in:
Yu 2015-02-06 16:19:08 -05:00
Родитель 697866a0d7
Коммит 41dc51ff4f
1 изменённых файлов: 5 добавлений и 4 удалений

Просмотреть файл

@ -26,9 +26,9 @@
#include <algorithm> #include <algorithm>
#if defined(_WIN32) #if defined(_WIN32)
#include "io.h" #include "io.h"
#include "buildinfo.h"
#endif #endif
#include "hostname.h" #include "hostname.h"
#include "buildinfo.h"
#ifdef LEAKDETECT #ifdef LEAKDETECT
#include "vld.h" // for memory leak detection #include "vld.h" // for memory leak detection
#endif #endif
@ -620,6 +620,7 @@ int MPIAPI MPI_Init(_In_opt_ int *argc, _Inout_count_(*argc) wchar_t*** argv)
} }
#endif #endif
#ifdef _WIN32
void PrintBuiltInfo() void PrintBuiltInfo()
{ {
fprintf(stderr, "-------------------------------------------------------------------\n"); fprintf(stderr, "-------------------------------------------------------------------\n");
@ -635,7 +636,7 @@ void PrintBuiltInfo()
fprintf(stderr, "-------------------------------------------------------------------\n"); fprintf(stderr, "-------------------------------------------------------------------\n");
} }
#endif
int wmain(int argc, wchar_t* argv[]) int wmain(int argc, wchar_t* argv[])
{ {
@ -691,9 +692,9 @@ int wmain(int argc, wchar_t* argv[])
#endif #endif
} }
#ifdef _WIN32
PrintBuiltInfo(); PrintBuiltInfo();
#endif
std::string timestamp = TimeDateStamp(); std::string timestamp = TimeDateStamp();