Bläddra i källkod

Enable Windows builds on Python 3.6; try to fix again.

tags/v0.5
Ben Kurtovic 7 år sedan
förälder
incheckning
dc0b3ae446
2 ändrade filer med 15 tillägg och 0 borttagningar
  1. +8
    -0
      appveyor.yml
  2. +7
    -0
      mwparserfromhell/parser/ctokenizer/avl_tree.h

+ 8
- 0
appveyor.yml Visa fil

@@ -52,6 +52,14 @@ environment:
PYTHON_VERSION: "3.5"
PYTHON_ARCH: "64"

- PYTHON: "C:\\Python36"
PYTHON_VERSION: "3.6"
PYTHON_ARCH: "32"

- PYTHON: "C:\\Python36-x64"
PYTHON_VERSION: "3.6"
PYTHON_ARCH: "64"

install:
- "%PIP% install --disable-pip-version-check --user --upgrade pip"
- "%PIP% install wheel twine"


+ 7
- 0
mwparserfromhell/parser/ctokenizer/avl_tree.h Visa fil

@@ -22,10 +22,17 @@
#define _AVL_TREE_H_

#include <stddef.h>

#if defined(_MSC_VER) && (_MSC_VER < 1600)
typedef unsigned long uintptr_t;
#else
#include <stdint.h>
#endif

#ifdef __GNUC__
# define AVL_INLINE inline __attribute__((always_inline))
#elif defined(_MSC_VER) && (_MSC_VER < 1900)
# define AVL_INLINE __inline
#else
# define AVL_INLINE inline
#endif


Laddar…
Avbryt
Spara