Python: Fix build

This commit is contained in:
Vicki Pfau 2019-05-02 18:33:04 -07:00
parent 3a2215a346
commit c0ee3cac66
4 changed files with 4 additions and 4 deletions

View File

@ -33,7 +33,7 @@ void free(void*);
#include <limits.h>
#include "flags.h"
#include <mgba/flags.h>
#include <mgba/core/blip_buf.h>
#include <mgba/core/cache-set.h>

View File

@ -18,7 +18,7 @@ cppflags.extend(["-I" + incdir, "-I" + srcdir, "-I" + bindir])
ffi.set_source("mgba._pylib", """
#define static
#define inline
#include "flags.h"
#include <mgba/flags.h>
#define OPAQUE_THREADING
#include <mgba/core/blip_buf.h>
#include <mgba/core/cache-set.h>

View File

@ -1,4 +1,4 @@
#include "flags.h"
#include <mgba/flags.h>
struct VFile;

View File

@ -3,7 +3,7 @@
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "flags.h"
#include <mgba/flags.h>
#define CREATE_SHIM(PLAT, NAME, RETURN) \
RETURN _py ## PLAT ## SIOPythonDriver ## NAME (void* driver); \