From 0633795683a67ed8bd68cc21a70ada0d9053e883 Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Wed, 7 Jun 2017 05:13:54 +0000 Subject: [PATCH] Fix an extern "C" that was collateral damage in the last push. Fixes Lunatic build. DONT_BUILD. git-svn-id: https://svn.eduke32.com/eduke32@6144 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/build/include/clip.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/source/build/include/clip.h b/source/build/include/clip.h index feda4ed9d..4c2b5d624 100644 --- a/source/build/include/clip.h +++ b/source/build/include/clip.h @@ -3,6 +3,10 @@ #ifndef clip_h_ #define clip_h_ +#ifdef __cplusplus +extern "C" { +#endif + #define MAXCLIPNUM 1024 #ifdef HAVE_CLIPSHAPE_FEATURE @@ -84,4 +88,8 @@ int32_t clipmovex(vec3_t *pos, int16_t *sectnum, int32_t xvect, int32_t yvect, i int32_t pushmove(vec3_t *vect, int16_t *sectnum, int32_t walldist, int32_t ceildist, int32_t flordist, uint32_t cliptype) ATTRIBUTE((nonnull(1, 2))); +#ifdef __cplusplus +} +#endif + #endif