winebuild: Add Solaris as a separate platform.
This commit is contained in:
parent
60a1e20ba8
commit
a3f42116da
|
@ -116,7 +116,7 @@ enum target_cpu
|
|||
|
||||
enum target_platform
|
||||
{
|
||||
PLATFORM_UNSPECIFIED, PLATFORM_APPLE, PLATFORM_WINDOWS
|
||||
PLATFORM_UNSPECIFIED, PLATFORM_APPLE, PLATFORM_SOLARIS, PLATFORM_WINDOWS
|
||||
};
|
||||
|
||||
extern enum target_cpu target_cpu;
|
||||
|
|
|
@ -65,6 +65,8 @@ enum target_cpu target_cpu = CPU_POWERPC;
|
|||
|
||||
#ifdef __APPLE__
|
||||
enum target_platform target_platform = PLATFORM_APPLE;
|
||||
#elif defined(__sun)
|
||||
enum target_platform target_platform = PLATFORM_SOLARIS;
|
||||
#elif defined(_WINDOWS)
|
||||
enum target_platform target_platform = PLATFORM_WINDOWS;
|
||||
#else
|
||||
|
@ -124,6 +126,7 @@ static const struct
|
|||
{
|
||||
{ "macos", PLATFORM_APPLE },
|
||||
{ "darwin", PLATFORM_APPLE },
|
||||
{ "solaris", PLATFORM_SOLARIS },
|
||||
{ "windows", PLATFORM_WINDOWS },
|
||||
{ "winnt", PLATFORM_WINDOWS }
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue