mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
throw.h: simplified a compilation conditional.
This commit is contained in:
@@ -7,10 +7,8 @@
|
||||
#ifndef MRB_THROW_H
|
||||
#define MRB_THROW_H
|
||||
|
||||
#if defined(MRB_USE_CXX_ABI)
|
||||
# if !defined(__cplusplus)
|
||||
#if defined(MRB_USE_CXX_ABI) && !defined(__cplusplus)
|
||||
# error Trying to use C++ exception handling in C code
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if defined(MRB_USE_CXX_EXCEPTION)
|
||||
|
||||
Reference in New Issue
Block a user