Commit 707a9f1b authored by nanahira's avatar nanahira

Merge branch 'master' into server

parents e6005fa5 5162e245
...@@ -472,21 +472,15 @@ jobs: ...@@ -472,21 +472,15 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
name: name:
- macos-13-intel - macos-15-intel
# - macos-13-arm-cross-compile-static-link - macos-15-universal-static-link
- macos-13-universal-static-link
- macos-15-arm - macos-15-arm
# - macos-15-intel-cross-compile-static-link # - macos-15-intel-cross-compile-static-link
# - macos-15-universal-static-link
include: include:
- name: macos-13-intel - name: macos-15-intel
os: macos-13 os: macos-15-intel
# - name: macos-13-arm-cross-compile-static-link - name: macos-15-universal-static-link
# os: macos-13 os: macos-15
# cross-build-arm: true
# static-link: true
- name: macos-13-universal-static-link
os: macos-13
cross-build-intel: true cross-build-intel: true
cross-build-arm: true cross-build-arm: true
static-link: true static-link: true
...@@ -495,11 +489,6 @@ jobs: ...@@ -495,11 +489,6 @@ jobs:
# - name: macos-15-intel-cross-compile-static-link # - name: macos-15-intel-cross-compile-static-link
# os: macos-15 # os: macos-15
# cross-build-intel: true # cross-build-intel: true
# static-link: true
# - name: macos-15-universal-static-link
# os: macos-15
# cross-build-intel: true
# cross-build-arm: true
# static-link: true # static-link: true
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
......
...@@ -101,7 +101,16 @@ inline FILE* mywfopen(const wchar_t* filename, const char* mode) { ...@@ -101,7 +101,16 @@ inline FILE* mywfopen(const wchar_t* filename, const char* mode) {
#include <irrlicht.h> #include <irrlicht.h>
#endif #endif
extern unsigned short PRO_VERSION; #if defined(_MSC_VER)
# define SHARE_VERSION __declspec(selectany)
#else
# define SHARE_VERSION __attribute__((weak))
#endif
extern "C" {
SHARE_VERSION uint16_t PRO_VERSION = 0x1362;
}
extern unsigned int enable_log; extern unsigned int enable_log;
extern bool exit_on_return; extern bool exit_on_return;
extern bool auto_watch_mode; extern bool auto_watch_mode;
......
...@@ -29,8 +29,6 @@ namespace irr { ...@@ -29,8 +29,6 @@ namespace irr {
#include <thread> #include <thread>
#include "myfilesystem.h" #include "myfilesystem.h"
unsigned short PRO_VERSION = 0x1362;
namespace ygo { namespace ygo {
Game* mainGame; Game* mainGame;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment