Skip to content

Commit

Permalink
Build fix for Windows
Browse files Browse the repository at this point in the history
refs #9182
  • Loading branch information
gunnarbeutner committed Aug 31, 2016
1 parent 54f0cb2 commit ba14c6e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/base/exception.cpp
Expand Up @@ -93,11 +93,11 @@ extern "C" I2_EXPORT void __cxa_throw(void *obj, TYPEINFO_TYPE *pvtinfo, void (*

void icinga::RethrowUncaughtException(void)
{
#if defined(__GLIBCXX__) && !defined(_WIN32)
#if defined(__GLIBCXX__) || !defined(HAVE_CXXABI_H)
throw;
#else /* __GLIBCXX__ || _WIN32 */
#else /* __GLIBCXX__ || !HAVE_CXXABI_H */
__cxa_throw(*l_LastExceptionObj.get(), *l_LastExceptionPvtInfo.get(), *l_LastExceptionDest.get());
#endif /* __GLIBCXX__ || _WIN32 */
#endif /* __GLIBCXX__ || !HAVE_CXXABI_H */
}

#ifdef HAVE_CXXABI_H
Expand Down

0 comments on commit ba14c6e

Please sign in to comment.