Browse Source

Remove stdint.h include for MSVC 2008.

tags/v0.4.1
Ben Kurtovic 9 years ago
parent
commit
a8c0ff3f29
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      mwparserfromhell/parser/tokenizer.h

+ 4
- 1
mwparserfromhell/parser/tokenizer.h View File

@@ -29,12 +29,15 @@ SOFTWARE.
#include <math.h>
#include <structmember.h>
#include <bytesobject.h>
#include <stdint.h>

#if PY_MAJOR_VERSION >= 3
#define IS_PY3K
#endif

#ifndef uint64_t
#define uint64_t unsigned PY_LONG_LONG
#endif

#define malloc PyObject_Malloc
#define free PyObject_Free



Loading…
Cancel
Save