CI: Try to build NazaraCore on macOS

This commit is contained in:
Jérôme Leclercq
2022-03-19 23:29:19 +01:00
parent 10cba985fb
commit 04dfd25c74
6 changed files with 25 additions and 6 deletions

View File

@@ -15,7 +15,7 @@
#define NAZARA_DYNLIB_EXTENSION ".dll"
#elif defined(NAZARA_PLATFORM_LINUX)
#define NAZARA_DYNLIB_EXTENSION ".so"
#elif defined(NAZARA_PLATFORM_MACOSX)
#elif defined(NAZARA_PLATFORM_MACOS)
#define NAZARA_DYNLIB_EXTENSION ".dynlib"
#else
#error OS not handled

View File

@@ -132,7 +132,7 @@
#define NAZARA_IMPORT __attribute__((visibility ("default")))
#elif defined(__APPLE__) && defined(__MACH__)
#define NAZARA_PLATFORM_DESKTOP
#define NAZARA_PLATFORM_MACOSX
#define NAZARA_PLATFORM_MACOS
#define NAZARA_PLATFORM_POSIX
#define NAZARA_EXPORT __attribute__((visibility ("default")))