mirror of
https://github.com/libretro/RetroArch
synced 2025-04-18 14:42:30 +00:00
Fix build for Win32.
This commit is contained in:
parent
1cf9381cb0
commit
42d19f1a35
@ -12,6 +12,7 @@ HAVE_XML = 1
|
|||||||
HAVE_FREETYPE = 1
|
HAVE_FREETYPE = 1
|
||||||
HAVE_XAUDIO = 1
|
HAVE_XAUDIO = 1
|
||||||
HAVE_RSOUND = 1
|
HAVE_RSOUND = 1
|
||||||
|
HAVE_FILTER = 1
|
||||||
libsnes ?= -lsnes
|
libsnes ?= -lsnes
|
||||||
|
|
||||||
LIBS = -lws2_32
|
LIBS = -lws2_32
|
||||||
|
@ -24,11 +24,7 @@
|
|||||||
void init_dlsym(void);
|
void init_dlsym(void);
|
||||||
void uninit_dlsym(void);
|
void uninit_dlsym(void);
|
||||||
|
|
||||||
#ifdef _WIN32
|
typedef void *dylib_t;
|
||||||
typedef HMODULE dylib_t;
|
|
||||||
#else
|
|
||||||
typedef void* dylib_t;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
dylib_t dylib_load(const char *path);
|
dylib_t dylib_load(const char *path);
|
||||||
void dylib_close(dylib_t lib);
|
void dylib_close(dylib_t lib);
|
||||||
|
@ -17,8 +17,8 @@
|
|||||||
|
|
||||||
#include "netplay.h"
|
#include "netplay.h"
|
||||||
#include "general.h"
|
#include "general.h"
|
||||||
#include "dynamic.h"
|
|
||||||
#include "autosave.h"
|
#include "autosave.h"
|
||||||
|
#include "dynamic.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
@ -47,6 +47,7 @@
|
|||||||
#define NONCONST_CAST
|
#define NONCONST_CAST
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#define PREV_PTR(x) ((x) == 0 ? handle->buffer_size - 1 : (x) - 1)
|
#define PREV_PTR(x) ((x) == 0 ? handle->buffer_size - 1 : (x) - 1)
|
||||||
#define NEXT_PTR(x) ((x + 1) % handle->buffer_size)
|
#define NEXT_PTR(x) ((x + 1) % handle->buffer_size)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user