Revert "Fix fatal error and the version flag option when compiling for windows"
This reverts commit f144f8a0b9.
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
mingw32_CC=x86_64-w64-mingw32-gcc-posix
|
mingw32_CC=x86_64-w64-mingw32-gcc-posix
|
||||||
mingw32_CXX=x86_64-w64-mingw32-g++-posix
|
mingw32_CXX=x86_64-w64-mingw32-g++-posix
|
||||||
mingw32_CFLAGS=-pipe -std=c++11
|
mingw32_CFLAGS=-pipe -std=c11
|
||||||
mingw32_CXXFLAGS=$(mingw32_CFLAGS) -std=c++11
|
mingw32_CXXFLAGS=$(mingw32_CFLAGS) -std=c++11
|
||||||
|
|
||||||
mingw32_release_CFLAGS=-O3
|
mingw32_release_CFLAGS=-O3
|
||||||
|
|||||||
@@ -25,13 +25,7 @@
|
|||||||
#include <boost/foreach.hpp>
|
#include <boost/foreach.hpp>
|
||||||
#include <boost/thread.hpp>
|
#include <boost/thread.hpp>
|
||||||
|
|
||||||
#ifdef _WIN32
|
#include <execinfo.h> /* backtrace, backtrace_symbols_fd */
|
||||||
#include <windows.h>
|
|
||||||
#include <dbghelp.h>
|
|
||||||
#else
|
|
||||||
#include <execinfo.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <unistd.h> /* STDOUT_FILENO */
|
#include <unistd.h> /* STDOUT_FILENO */
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user