notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
plugin_lib: fix a silly crash
[pcsx_rearmed.git]
/
libpcsxcore
/
lightrec
/
mem.c
diff --git
a/libpcsxcore/lightrec/mem.c
b/libpcsxcore/lightrec/mem.c
index
c0186da
..
91bd908
100644
(file)
--- a/
libpcsxcore/lightrec/mem.c
+++ b/
libpcsxcore/lightrec/mem.c
@@
-3,7
+3,9
@@
* Copyright (C) 2022 Paul Cercueil <paul@crapouillou.net>
*/
* Copyright (C) 2022 Paul Cercueil <paul@crapouillou.net>
*/
+#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#define _GNU_SOURCE
+#endif
#include <errno.h>
#include <fcntl.h>
#include <stdbool.h>
#include <errno.h>
#include <fcntl.h>
#include <stdbool.h>
@@
-31,8
+33,6
@@
#define MFD_HUGETLB 0x0004
#endif
#define MFD_HUGETLB 0x0004
#endif
-void *code_buffer;
-
static const uintptr_t supported_io_bases[] = {
0x0,
0x10000000,
static const uintptr_t supported_io_bases[] = {
0x0,
0x10000000,