mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-20 05:54:54 -04:00
build on mac
This commit is contained in:
parent
0662ea7958
commit
53e999259d
@ -215,6 +215,7 @@ initialize(int api_version, const string &contents_filename,
|
|||||||
// If the platform is compiled in (as opposed to passed in by the
|
// If the platform is compiled in (as opposed to passed in by the
|
||||||
// caller), we might in fact support multiple platforms.
|
// caller), we might in fact support multiple platforms.
|
||||||
_platform = DTOOL_PLATFORM;
|
_platform = DTOOL_PLATFORM;
|
||||||
|
#ifdef _WIN32
|
||||||
if (_platform == "win64") {
|
if (_platform == "win64") {
|
||||||
_supported_platforms.push_back("win64");
|
_supported_platforms.push_back("win64");
|
||||||
_supported_platforms.push_back("win32");
|
_supported_platforms.push_back("win32");
|
||||||
@ -227,6 +228,7 @@ initialize(int api_version, const string &contents_filename,
|
|||||||
}
|
}
|
||||||
_supported_platforms.push_back("win32");
|
_supported_platforms.push_back("win32");
|
||||||
}
|
}
|
||||||
|
#endif // _WIN32
|
||||||
|
|
||||||
// TODO: OSX, Linux multiplatform support. Just add the
|
// TODO: OSX, Linux multiplatform support. Just add the
|
||||||
// appropriate platform strings to _supported_platforms.
|
// appropriate platform strings to _supported_platforms.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user