Skip to content
This repository has been archived by the owner on Nov 16, 2022. It is now read-only.

Allow cross-building Windows binaries from Linux #36

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file modified src/dep/scripts/cave_sprite_func.pl
100644 → 100755
Empty file.
Empty file modified src/dep/scripts/cave_tile_func.pl
100644 → 100755
Empty file.
Empty file modified src/dep/scripts/fixrc.pl
100644 → 100755
Empty file.
Empty file modified src/dep/scripts/gamelist.pl
100644 → 100755
Empty file.
Empty file modified src/dep/scripts/license2rtf.pl
100644 → 100755
Empty file.
Empty file modified src/dep/scripts/neo_sprite_func.pl
100644 → 100755
Empty file.
Empty file modified src/dep/scripts/psikyo_tile_func.pl
100644 → 100755
Empty file.
Empty file modified src/dep/scripts/toa_gp9001_func.pl
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion src/intf/audio/win32/aud_dsound3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include "aud_dsp.h"
Copy link
Collaborator

@dinkc64 dinkc64 Nov 23, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Yvan, we've moved the project over to fbneo - you should submit your PR there:
https://github.com/finalburnneo/FBNeo

Unfortunately, we can't accept this specific one, because we need to retain backwards compatibility with mingw gcc 3.4.5 (2 of the active devs use this one) - so a little ifdef-action will need to be used :)

best regards,

  • dink

#include <math.h>

#include <InitGuid.h>
#include <guiddef.h>
#define DIRECTSOUND_VERSION 0x0300 // Only need version from DirectX 3
#include <dsound.h>

Expand Down
2 changes: 1 addition & 1 deletion src/intf/audio/win32/aud_xaudio2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include "aud_dsp.h"

//#ifdef _MSC_VER
#include <InitGuid.h>
#include <guiddef.h>
#include <xaudio2.h>
#include <xaudio2fx.h>

Expand Down
2 changes: 1 addition & 1 deletion src/intf/input/win32/inp_dinput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include "burner.h"
#include "inp_keys.h"

#include <InitGuid.h>
#include <guiddef.h>

#define DIRECTINPUT_VERSION 0x0800
#include <dinput.h>
Expand Down
2 changes: 1 addition & 1 deletion src/intf/video/win32/vid_d3d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#if !defined BUILD_X64_EXE

// #include "vid_directx_support.h"
#include <InitGuid.h>
#include <guiddef.h>
#include "vid_softfx.h"

// #define ENABLE_PROFILING FBA_DEBUG
Expand Down
2 changes: 1 addition & 1 deletion src/intf/video/win32/vid_ddraw.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include "vid_directx_support.h"
#endif

#include <InitGuid.h>
#include <guiddef.h>
#define DIRECT3D_VERSION 0x0700 // Use this Direct3D version

#if defined BUILD_X64_EXE
Expand Down
2 changes: 1 addition & 1 deletion src/intf/video/win32/vid_ddrawfx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include "vid_softfx.h"
#endif

#include <InitGuid.h>
#include <guiddef.h>
#define DIRECT3D_VERSION 0x0700 // Use this Direct3D version

#if defined BUILD_X64_EXE
Expand Down
2 changes: 1 addition & 1 deletion src/intf/video/win32/vid_directx9.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// #define ENABLE_PROFILING FBA_DEBUG
// #define LOAD_EFFECT_FROM_FILE

#include <InitGuid.h>
#include <guiddef.h>
#define DIRECT3D_VERSION 0x0900 // Use this Direct3D version
#define D3D_OVERLOADS
#include <d3d9.h>
Expand Down
2 changes: 1 addition & 1 deletion src/intf/video/win32/vid_directx_support.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include "vid_directx_support.h"
#endif

#include <InitGuid.h>
#include <guiddef.h>
#define DIRECT3D_VERSION 0x0700 // Use this Direct3D version

#if defined BUILD_X64_EXE
Expand Down