Some fixes for strawberry perl on msvc, added automatic portable perl linking on windows (experimental)

This commit is contained in:
KimLS
2019-08-28 01:35:27 -07:00
parent 5ce71b7923
commit 34cb51c449
5 changed files with 53 additions and 4 deletions
+4
View File
@@ -8,6 +8,10 @@
#ifndef WIN32
extern "C" { //the perl headers dont do this for us...
#endif
#if _MSC_VER
#define __inline__ __inline
#define __builtin_expect
#endif
#include <perl.h>
#include <XSUB.h>
#ifndef WIN32