Fix fatal error and the version flag option when compiling for windows
This commit is contained in:
@@ -25,7 +25,13 @@
|
||||
#include <boost/foreach.hpp>
|
||||
#include <boost/thread.hpp>
|
||||
|
||||
#include <execinfo.h> /* backtrace, backtrace_symbols_fd */
|
||||
#ifdef _WIN32
|
||||
#include <windows.h>
|
||||
#include <dbghelp.h>
|
||||
#else
|
||||
#include <execinfo.h>
|
||||
#endif
|
||||
|
||||
#include <unistd.h> /* STDOUT_FILENO */
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user