fix API build for C apps

-  protect bool variable in cplusplus in diagnostics.h
This commit is contained in:
Bernd Machenschalk 2021-02-19 16:28:46 +01:00
parent aac02d1c89
commit 0b6f3678e5
1 changed files with 2 additions and 0 deletions

View File

@ -34,7 +34,9 @@
#include <dlfcn.h>
#endif
#ifdef __cplusplus
extern bool main_exited;
#endif
// some of the Android stuff below causes seg faults on some devices.
// Disable by default.