Sfoglia il codice sorgente

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

tags/v0.5
Ben Kurtovic 7 anni fa
parent
commit
dc0b3ae446
2 ha cambiato i file con 15 aggiunte e 0 eliminazioni
  1. +8
    -0
      appveyor.yml
  2. +7
    -0
      mwparserfromhell/parser/ctokenizer/avl_tree.h

+ 8
- 0
appveyor.yml Vedi File

@@ -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 Vedi File

@@ -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


Caricamento…
Annulla
Salva