all repos — mgba @ c0ee3cac6662fe161af2d655f09d731cdcf0efe4

mGBA Game Boy Advance Emulator

Python: Fix build
Vicki Pfau vi@endrift.com
Thu, 02 May 2019 18:33:04 -0700
commit

c0ee3cac6662fe161af2d655f09d731cdcf0efe4

parent

3a2215a3469ff2a5cdfb71a25df3728c20f6b343

M src/platform/python/_builder.hsrc/platform/python/_builder.h

@@ -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>
M src/platform/python/_builder.pysrc/platform/python/_builder.py

@@ -18,7 +18,7 @@

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>
M src/platform/python/lib.hsrc/platform/python/lib.h

@@ -1,4 +1,4 @@

-#include "flags.h" +#include <mgba/flags.h> struct VFile;
M src/platform/python/sio.csrc/platform/python/sio.c

@@ -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); \