build on mac

This commit is contained in:
David Rose 2012-09-27 23:23:41 +00:00
parent 0662ea7958
commit 53e999259d

View File

@ -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
// caller), we might in fact support multiple platforms.
_platform = DTOOL_PLATFORM;
#ifdef _WIN32
if (_platform == "win64") {
_supported_platforms.push_back("win64");
_supported_platforms.push_back("win32");
@ -227,6 +228,7 @@ initialize(int api_version, const string &contents_filename,
}
_supported_platforms.push_back("win32");
}
#endif // _WIN32
// TODO: OSX, Linux multiplatform support. Just add the
// appropriate platform strings to _supported_platforms.