Core: MacOS adjustments

git-svn-id: svn://ultimatepp.org/upp/trunk@12044 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2018-07-05 15:11:57 +00:00
parent 9fe1d57f22
commit d94a9684ab
3 changed files with 3 additions and 2 deletions

View file

@ -1,5 +1,5 @@
#include "Core.h"
namespace Upp {
void RGBtoHSV(double r, double g, double b, double& h, double& s, double& v)

View file

@ -5,7 +5,7 @@ struct RGBA : Moveable<RGBA> {
#endif
#ifdef PLATFORM_POSIX
#ifdef CPU_BE
#if defined(CPU_BE) || defined(PLATFORM_MACOS)
struct RGBA : Moveable<RGBA> {
byte a, r, g, b;
};

View file

@ -35,6 +35,7 @@
#define PLATFORM_OSX11 1
#define PLATFORM_BSD 1
#define flagNOGTK
#define PLATFORM_MACOS
#else
// zvzv mod
// was: #if __FreeBSD__ || __OpenBSD__ || __NetBSD__ || __APPLE__