From 664c1ed38e659af6d7fef94ba11172043fabda8a Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Mon, 8 Apr 2019 06:29:27 +0000 Subject: [PATCH] Fix extern "C" error in kplib.h affecting the Build tools git-svn-id: https://svn.eduke32.com/eduke32@7543 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/build/include/kplib.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/source/build/include/kplib.h b/source/build/include/kplib.h index ff63d949f..e27690385 100644 --- a/source/build/include/kplib.h +++ b/source/build/include/kplib.h @@ -1,6 +1,3 @@ -#ifdef __cplusplus -extern "C" { -#endif #ifndef compat_h_ #include "compat.h" @@ -8,6 +5,10 @@ extern "C" { #include "vfs.h" +#ifdef __cplusplus +extern "C" { +#endif + typedef struct { buildvfs_FILE fil; //0:no file open, !=0:open file (either stand-alone or zip)