summaryrefslogtreecommitdiff
path: root/src/bindings/cxx/eina_cxx/eina_throw.hh
blob: 3eb382b98ad701f791c772e236c6e9d6bbaba4d6 (plain)
1
2
3
4
5
6
7
8
9
#ifndef EFL_CXX_THROW

#ifdef EFL_CXX_NO_EXCEPTIONS
# define EFL_CXX_THROW(x)    std::abort()
#else
# define EFL_CXX_THROW(x)    throw x
#endif

#endif