X-Git-Url: http://www.project-moonshot.org/gitweb/?p=freeradius.git;a=blobdiff_plain;f=src%2Finclude%2Frad_assert.h;h=a0b513b299c8f468dd976d35bad0f61a347ae8b9;hp=3802783605589ac248ddde94ed9eaa89763fdee6;hb=e2eaf9194b16fdd15ebf274aafd05edc9fefb4bb;hpb=e4bd07a28ea12db9a4633df981ace7bafd3a5445 diff --git a/src/include/rad_assert.h b/src/include/rad_assert.h index 3802783..a0b513b 100644 --- a/src/include/rad_assert.h +++ b/src/include/rad_assert.h @@ -25,6 +25,10 @@ #include RCSIDH(rad_assert_h, "$Id$") +#ifdef __cplusplus +extern "C" { +#endif + extern void rad_assert_fail (const char *file, unsigned int line, const char *expr); #ifdef NDEBUG @@ -40,4 +44,8 @@ extern void rad_assert_fail (const char *file, unsigned int line, const char *ex #define rad_assert assert #endif +#ifdef __cplusplus +} +#endif + #endif