Compile on Linux

This commit is contained in:
rdb 2009-06-26 12:54:32 +00:00
parent 5fea6fffd7
commit 17e61c21d7
2 changed files with 7 additions and 1 deletions

View File

@ -46,11 +46,15 @@ extern ofstream logfile;
#include <windows.h>
#else defined(__APPLE__)
#elif defined(__APPLE__)
// On Mac, Gecko requires this symbol to be defined.
#define XP_MACOSX
#else
#define XP_UNIX
#endif // _WIN32, __APPLE__
#include "npapi.h"

View File

@ -16,6 +16,8 @@
#include "startup.h"
#include "p3d_plugin_config.h"
#include <string.h>
////////////////////////////////////////////////////////////////////
// Function: PPInstance::Constructor
// Access: Public