Respect MRB_USE_CXX_ABI #define

This commit is contained in:
Ryan Lopopolo
2022-06-23 21:54:53 -07:00
parent c4c37b2069
commit 3af82fbb51
+9
View File
@@ -27,6 +27,15 @@
extern "C" {
#endif
void abort(void);
#if defined(__cplusplus)
} /* extern "C" { */
#endif
#endif
#if defined(__cplusplus)
# if !defined(MRB_USE_CXX_ABI)
extern "C" {
# endif
#endif
#define STACK_INIT_SIZE 128