diff src/xtract_globals_private.h @ 264:ecd6f2cf1346

Initial unit testing setup with an example test
author Jamie Bullock <jamie@jamiebullock.com>
date Mon, 10 Nov 2014 20:29:19 +0000
parents 246c203cc733
children
line wrap: on
line diff
--- a/src/xtract_globals_private.h	Sat Nov 08 00:07:02 2014 +0000
+++ b/src/xtract_globals_private.h	Mon Nov 10 20:29:19 2014 +0000
@@ -29,10 +29,10 @@
 #include "fft.h"
 #include "dywapitchtrack/dywapitchtrack.h"
 
-#ifdef DEFINE_GLOBALS
+#ifdef __cplusplus
+#define GLOBAL extern "C"
+#else
 #define GLOBAL
-#else
-#define GLOBAL extern
 #endif
 
 #ifdef USE_OOURA
@@ -49,5 +49,6 @@
 
 GLOBAL dywapitchtracker wavelet_f0_state;
 
+
 #endif /* Header guard */