aboutsummaryrefslogtreecommitdiff
path: root/src/xtract_globals_private.h
diff options
context:
space:
mode:
authorJamie Bullock <jamie@jamiebullock.com>2014-11-11 17:30:31 +0000
committerJamie Bullock <jamie@jamiebullock.com>2014-11-11 17:30:31 +0000
commitc8317ed6210ebc7fa5dbb1951f9e8dd4038af8b6 (patch)
tree1e6aa9e0feb6ce30749bc9fa52dacb424378ba75 /src/xtract_globals_private.h
parentba706261d3fc5b436aa6f09d57e62eeb77377d8f (diff)
parentb3b6e6fd6b39e7f2bbbd8e2209302590d6d155eb (diff)
downloadLibXtract-c8317ed6210ebc7fa5dbb1951f9e8dd4038af8b6.tar.gz
LibXtract-c8317ed6210ebc7fa5dbb1951f9e8dd4038af8b6.tar.bz2
LibXtract-c8317ed6210ebc7fa5dbb1951f9e8dd4038af8b6.zip
Merge branch 'feature/unit-tests' into develop
Diffstat (limited to 'src/xtract_globals_private.h')
-rw-r--r--src/xtract_globals_private.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/xtract_globals_private.h b/src/xtract_globals_private.h
index 2b0f3d4..69256c8 100644
--- a/src/xtract_globals_private.h
+++ b/src/xtract_globals_private.h
@@ -29,10 +29,10 @@
#include "fft.h"
#include "dywapitchtrack/dywapitchtrack.h"
-#ifdef DEFINE_GLOBALS
-#define GLOBAL
+#ifdef __cplusplus
+#define GLOBAL extern "C"
#else
-#define GLOBAL extern
+#define GLOBAL
#endif
#ifdef USE_OOURA
@@ -49,5 +49,6 @@ GLOBAL xtract_vdsp_data vdsp_data_autocorrelation_fft;
GLOBAL dywapitchtracker wavelet_f0_state;
+
#endif /* Header guard */