mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-09 11:34:54 -06:00
Core: MacOS adjustments
git-svn-id: svn://ultimatepp.org/upp/trunk@12044 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
9fe1d57f22
commit
d94a9684ab
3 changed files with 3 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
#include "Core.h"
|
||||
|
||||
|
||||
namespace Upp {
|
||||
|
||||
void RGBtoHSV(double r, double g, double b, double& h, double& s, double& v)
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue