1
0
mirror of https://github.com/libretro/RetroArch synced 2025-03-31 19:21:06 +00:00

Fix build for Win32.

This commit is contained in:
Themaister 2011-03-07 20:05:03 +01:00
parent 1cf9381cb0
commit 42d19f1a35
3 changed files with 4 additions and 6 deletions

@ -12,6 +12,7 @@ HAVE_XML = 1
HAVE_FREETYPE = 1
HAVE_XAUDIO = 1
HAVE_RSOUND = 1
HAVE_FILTER = 1
libsnes ?= -lsnes
LIBS = -lws2_32

@ -24,11 +24,7 @@
void init_dlsym(void);
void uninit_dlsym(void);
#ifdef _WIN32
typedef HMODULE dylib_t;
#else
typedef void* dylib_t;
#endif
typedef void *dylib_t;
dylib_t dylib_load(const char *path);
void dylib_close(dylib_t lib);

@ -17,8 +17,8 @@
#include "netplay.h"
#include "general.h"
#include "dynamic.h"
#include "autosave.h"
#include "dynamic.h"
#include <stdlib.h>
#include <string.h>
#include <sys/time.h>
@ -47,6 +47,7 @@
#define NONCONST_CAST
#endif
#define PREV_PTR(x) ((x) == 0 ? handle->buffer_size - 1 : (x) - 1)
#define NEXT_PTR(x) ((x + 1) % handle->buffer_size)