Fix small issues for mingw builds on Linux
Doenst like the paths, big surprise. I tipically build it like: make platform=win32 CXX=x86_64-w64-mingw32-g++ \ WINDRES=x86_64-w64-mingw32-windres \ CC=x86_64-w64-mingw32-gcc
This commit is contained in:
parent
15ce3ab5fa
commit
cbc2af29ad
|
@ -4,7 +4,7 @@
|
|||
#include "common.h"
|
||||
|
||||
#include <stddef.h>
|
||||
#include <Windows.h>
|
||||
#include <windows.h>
|
||||
|
||||
#include <ntddscsi.h>
|
||||
#include "SCSIDEFS.H"
|
||||
|
@ -388,4 +388,4 @@ Disc* ioctl_parse(const wchar* file)
|
|||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include <d3d11.h>
|
||||
#include "hw\pvr\Renderer_if.h"
|
||||
#include "oslib\oslib.h"
|
||||
#include "hw/pvr/Renderer_if.h"
|
||||
#include "oslib/oslib.h"
|
||||
|
||||
#pragma comment(lib,"d3d11.lib")
|
||||
|
||||
|
@ -102,4 +102,4 @@ struct d3d11 : Renderer
|
|||
Renderer* rend_D3D11()
|
||||
{
|
||||
return new d3d11();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -783,7 +783,7 @@ GLuint fogTextureId;
|
|||
|
||||
return rv;
|
||||
}
|
||||
#include <Wingdi.h>
|
||||
#include <wingdi.h>
|
||||
void gl_swap()
|
||||
{
|
||||
wglSwapLayerBuffers(ourWindowHandleToDeviceContext,WGL_SWAP_MAIN_PLANE);
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#if HOST_OS!=OS_WINDOWS
|
||||
#include <pthread.h>
|
||||
#else
|
||||
#include <Windows.h>
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include "oslib\oslib.h"
|
||||
#include "oslib\audiostream.h"
|
||||
#include "imgread\common.h"
|
||||
#include "oslib/oslib.h"
|
||||
#include "oslib/audiostream.h"
|
||||
#include "imgread/common.h"
|
||||
#include "stdclass.h"
|
||||
#include "cfg/cfg.h"
|
||||
#include "xinput_gamepad.h"
|
||||
|
@ -10,8 +10,8 @@
|
|||
#include <windows.h>
|
||||
#include <windowsx.h>
|
||||
|
||||
#include <Xinput.h>
|
||||
#include "hw\maple\maple_cfg.h"
|
||||
#include <xinput.h>
|
||||
#include "hw/maple/maple_cfg.h"
|
||||
#pragma comment(lib, "XInput9_1_0.lib")
|
||||
|
||||
PCHAR*
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#include <Xinput.h>
|
||||
#include <xinput.h>
|
||||
#include "input/gamepad_device.h"
|
||||
#include "rend/gui.h"
|
||||
|
||||
|
|
|
@ -18,6 +18,7 @@ CC=${CC_PREFIX}gcc
|
|||
AS=${CC_PREFIX}as
|
||||
STRIP=${CC_PREFIX}strip
|
||||
LD=${CC}
|
||||
WINDRES=${CC_PREFIX}windres
|
||||
CHD5_LZMA := 1
|
||||
CHD5_FLAC := 1
|
||||
|
||||
|
@ -432,7 +433,7 @@ OBJECTS:=$(patsubst $(RZDCY_SRC_DIR)/%,$(BUILDDIR)/%,$(OBJECTS))
|
|||
ifdef FOR_WINDOWS
|
||||
OBJECTS+=$(BUILDDIR)/reicastres.build_obj
|
||||
$(BUILDDIR)/reicastres.build_obj: $(LOCAL_PATH)/../windows/reicast.rc $(LOCAL_PATH)/../windows/reicast.ico $(RZDCY_SRC_DIR)/version.h
|
||||
windres $< $@
|
||||
$(WINDRES) $< $@
|
||||
endif
|
||||
|
||||
DEPDIR := .dep-$(BUILDDIR)
|
||||
|
|
Loading…
Reference in New Issue