mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-14 06:55:36 +00:00
Updates for OS X and gcc 4.0 compatibility.
- Fixed some invalid member function references in wxJS code that gcc 4.0 didn't like. - Some conversion changes. - Don't try to construct wxSound from memory in OS X (it's not available). - Added dependency on zlib in AtlasUI (something there uses _compress). - Added Mac code for finding current executable's path. - Added dummy code for getting display size that does not use X. - Fixed dir_get_changed_file stub to return ERR::AGAIN (end of files) instead of INFO::OK. This was SVN commit r5312.
This commit is contained in:
@@ -268,6 +268,8 @@ template<typename T> jsval ScriptInterface::ToJSVal(JSContext* cx, const T& v)
|
||||
// but are required for linking with other files
|
||||
template bool ScriptInterface::FromJSVal<wxString>(JSContext*, jsval, wxString&);
|
||||
|
||||
template bool ScriptInterface::FromJSVal<float>(JSContext*, jsval, float&);
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
Reference in New Issue
Block a user