--- libxtract-git-5d301b0eb.old/src/vector.c +++ libxtract-git-5d301b0eb/src/vector.c @@ -28,8 +28,9 @@ #include #include -#include "fft.h" +#define INSTANTIATE_MATE 1 +#include "fft.h" #include "xtract/libxtract.h" #include "xtract_macros_private.h" #include "xtract_globals_private.h" --- libxtract-git-5d301b0eb.old/src/xtract_globals_private.h +++ libxtract-git-5d301b0eb/src/xtract_globals_private.h @@ -32,7 +32,11 @@ #ifdef __cplusplus #define GLOBAL extern "C" #else +#ifdef INSTANTIATE_MATE #define GLOBAL +#else +#define GLOBAL extern +#endif #endif #ifdef USE_OOURA