From 88a5d4fe63c58e6a75673a091f32dd0202c1448d Mon Sep 17 00:00:00 2001 From: John Benediktsson Date: Sun, 5 Feb 2017 19:46:19 -0800 Subject: [PATCH] re-adding windows support. I wish this could be preserved automatically but it seems to need manually re-adding everytime we regenerate the C file. --- talib/_ta_lib.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/talib/_ta_lib.c b/talib/_ta_lib.c index 0bb156727..41f00a32b 100644 --- a/talib/_ta_lib.c +++ b/talib/_ta_lib.c @@ -268,10 +268,14 @@ static CYTHON_INLINE float __PYX_NAN() { #define __PYX_HAVE__talib___ta_lib #define __PYX_HAVE_API__talib___ta_lib +#if defined(WIN32) || defined(MS_WINDOWS) +#include "ta-libc.h" +#else #include "ta-lib/ta_defs.h" #include "ta-lib/ta_common.h" #include "ta-lib/ta_abstract.h" #include "ta-lib/ta_func.h" +#endif #include "string.h" #include "stdio.h" #include "stdlib.h"