This commit is contained in:
OBattler
2023-08-16 19:33:46 +02:00
5 changed files with 28 additions and 14 deletions

View File

@@ -191,6 +191,10 @@ jobs:
triplet: x64-windows-static triplet: x64-windows-static
toolchain: ./cmake/llvm-win32-x86_64.cmake toolchain: ./cmake/llvm-win32-x86_64.cmake
vcvars: x64 vcvars: x64
# - name: ARM
# triplet: arm-windows-static
# toolchain: ./cmake/llvm-win32-arm.cmake
# vcvars: x64_arm
- name: ARM64 - name: ARM64
triplet: arm64-windows-static triplet: arm64-windows-static
toolchain: ./cmake/llvm-win32-aarch64.cmake toolchain: ./cmake/llvm-win32-aarch64.cmake
@@ -217,7 +221,7 @@ jobs:
- name: Setup NuGet Credentials - name: Setup NuGet Credentials
run: > run: >
& (C:/vcpkg/vcpkg fetch nuget | tail -n 2) & (C:/vcpkg/vcpkg --vcpkg-root "${{ env.VCPKG_ROOT }}" fetch nuget | tail -n 2)
sources add sources add
-source "https://nuget.pkg.github.com/86Box/index.json" -source "https://nuget.pkg.github.com/86Box/index.json"
-storepasswordincleartext -storepasswordincleartext

View File

@@ -2,6 +2,7 @@
===== =====
[![Build Status](https://ci.86box.net/job/86Box/badge/icon)](https://ci.86box.net/job/86Box/) [![Build Status](https://ci.86box.net/job/86Box/badge/icon)](https://ci.86box.net/job/86Box/)
[![License](https://img.shields.io/github/license/86Box/86Box)](COPYING) [![Latest release](https://img.shields.io/github/release/86Box/86Box.svg)](https://github.com/86Box/86Box/releases) [![Downloads](https://img.shields.io/github/downloads/86Box/86Box/total.svg)](https://github.com/86Box/86Box/releases)
**86Box** is a low level x86 emulator that runs older operating systems and software designed for IBM PC systems and compatibles from 1981 through fairly recent system designs based on the PCI bus. **86Box** is a low level x86 emulator that runs older operating systems and software designed for IBM PC systems and compatibles from 1981 through fairly recent system designs based on the PCI bus.

View File

@@ -55,15 +55,6 @@ extern int strnicmp(const char *s1, const char *s2, size_t n);
# define off64_t off_t # define off64_t off_t
#endif #endif
#if __has_attribute(fallthrough)
# define fallthrough __attribute__((fallthrough))
#else
# if __has_attribute(__fallthrough__)
# define fallthrough __attribute__((__fallthrough__))
# endif
# define fallthrough do {} while (0) /* fallthrough */
#endif
#ifdef _MSC_VER #ifdef _MSC_VER
# define UNUSED(arg) arg # define UNUSED(arg) arg
#else #else
@@ -89,6 +80,19 @@ extern "C" {
# define ssize_t intptr_t # define ssize_t intptr_t
#endif #endif
#ifdef _MSC_VER
# define fallthrough do {} while (0) /* fallthrough */
#else
# if __has_attribute(fallthrough)
# define fallthrough __attribute__((fallthrough))
# else
# if __has_attribute(__fallthrough__)
# define fallthrough __attribute__((__fallthrough__))
# endif
# define fallthrough do {} while (0) /* fallthrough */
# endif
#endif
/* Global variables residing in the platform module. */ /* Global variables residing in the platform module. */
extern int dopause; /* system is paused */ extern int dopause; /* system is paused */
extern int mouse_capture; /* mouse is captured in app */ extern int mouse_capture; /* mouse is captured in app */

View File

@@ -18,13 +18,17 @@
#ifndef EMU_PLAT_FALLTHROUGH_H #ifndef EMU_PLAT_FALLTHROUGH_H
#define EMU_PLAT_FALLTHROUGH_H #define EMU_PLAT_FALLTHROUGH_H
#if __has_attribute(__fallthrough__) #ifdef _MSC_VER
# define fallthrough __attribute__((__fallthrough__)) # define fallthrough do {} while (0) /* fallthrough */
#else #else
# if __has_attribute(fallthrough) # if __has_attribute(fallthrough)
# define fallthrough __attribute__((fallthrough)) # define fallthrough __attribute__((fallthrough))
# else
# if __has_attribute(__fallthrough__)
# define fallthrough __attribute__((__fallthrough__))
# endif
# define fallthrough do {} while (0) /* fallthrough */
# endif # endif
# define fallthrough do {} while (0) /* fallthrough */
#endif #endif
#endif /*EMU_PLAT_FALLTHROUGH_H*/ #endif /*EMU_PLAT_FALLTHROUGH_H*/

View File

@@ -9,7 +9,8 @@
"libpng", "libpng",
"sdl2", "sdl2",
"rtmidi", "rtmidi",
"libslirp" "libslirp",
"fluidsynth"
], ],
"features": { "features": {
"qt-ui": { "qt-ui": {