Merge pull request #873

d718960 remove POSIX_C_SOURCE and remove dlfcn.h for static builds (luigi1111)
This commit is contained in:
Riccardo Spagni
2016-07-06 18:12:03 +02:00
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -33,7 +33,9 @@
#include <libunwind.h>
#endif
#include <cxxabi.h>
#ifndef STATICLIB
#include <dlfcn.h>
#endif
// from http://stackoverflow.com/questions/11665829/how-can-i-print-stack-trace-for-caught-exceptions-in-c-code-injection-in-c
#ifdef STATICLIB