diff --git a/vendor/Squirrel/include/squirrel.h b/vendor/Squirrel/include/squirrel.h index 4f9bae39..d3d51a54 100644 --- a/vendor/Squirrel/include/squirrel.h +++ b/vendor/Squirrel/include/squirrel.h @@ -64,8 +64,16 @@ struct SQOuter; //#define SQUNICODE //#endif +#ifdef __cplusplus +} /*extern "C"*/ +#endif + #include "sqconfig.h" +#ifdef __cplusplus +extern "C" { +#endif + #define SQUIRREL_VERSION _SC("Squirrel 3.1 stable") #define SQUIRREL_COPYRIGHT _SC("Copyright (C) 2003-2017 Alberto Demichelis") #define SQUIRREL_AUTHOR _SC("Alberto Demichelis")