Skip to content

Commit 88a5d4f

Browse files
committed
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.
1 parent 1b6ae4c commit 88a5d4f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

talib/_ta_lib.c

+4
Original file line numberDiff line numberDiff line change
@@ -268,10 +268,14 @@ static CYTHON_INLINE float __PYX_NAN() {
268268

269269
#define __PYX_HAVE__talib___ta_lib
270270
#define __PYX_HAVE_API__talib___ta_lib
271+
#if defined(WIN32) || defined(MS_WINDOWS)
272+
#include "ta-libc.h"
273+
#else
271274
#include "ta-lib/ta_defs.h"
272275
#include "ta-lib/ta_common.h"
273276
#include "ta-lib/ta_abstract.h"
274277
#include "ta-lib/ta_func.h"
278+
#endif
275279
#include "string.h"
276280
#include "stdio.h"
277281
#include "stdlib.h"

0 commit comments

Comments
 (0)