throw.h: simplified a compilation conditional.

This commit is contained in:
Yukihiro "Matz" Matsumoto
2022-11-01 17:25:27 +09:00
parent c68d3dcbac
commit e3dd65f761
+1 -3
View File
@@ -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)