Ver código fonte

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

tags/v0.5
Ben Kurtovic 6 anos atrás
pai
commit
dc0b3ae446
2 arquivos alterados com 15 adições e 0 exclusões
  1. +8
    -0
      appveyor.yml
  2. +7
    -0
      mwparserfromhell/parser/ctokenizer/avl_tree.h

+ 8
- 0
appveyor.yml Ver arquivo

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

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


Carregando…
Cancelar
Salvar