mirror of
https://github.com/minetest/minetest.git
synced 2024-12-22 14:12:24 +01:00
Generate Minetest.app on macOS 12, so at least macOS 12 will be supported
This commit is contained in:
parent
3af226cb06
commit
4fd744cdf6
4
.github/workflows/macos.yml
vendored
4
.github/workflows/macos.yml
vendored
@ -29,8 +29,8 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
# use macOS 13 since it's the last one that still runs on x86
|
# use lowest possible macOS running on x86_64 to support more users
|
||||||
runs-on: macos-13
|
runs-on: macos-12
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Install deps
|
- name: Install deps
|
||||||
|
@ -28,6 +28,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||||||
#include "SColor.h"
|
#include "SColor.h"
|
||||||
#include <matrix4.h>
|
#include <matrix4.h>
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
#include <algorithm>
|
||||||
|
|
||||||
#define rangelim(d, min, max) ((d) < (min) ? (min) : ((d) > (max) ? (max) : (d)))
|
#define rangelim(d, min, max) ((d) < (min) ? (min) : ((d) > (max) ? (max) : (d)))
|
||||||
#define myfloor(x) ((x) < 0.0 ? (int)(x) - 1 : (int)(x))
|
#define myfloor(x) ((x) < 0.0 ? (int)(x) - 1 : (int)(x))
|
||||||
|
Loading…
Reference in New Issue
Block a user