support Irix build (without HAVE_IOSTREAM)

This commit is contained in:
David Rose 2005-01-26 11:37:13 +00:00
parent 634df8d0c4
commit 3e461e03ae
2 changed files with 7 additions and 1 deletions

View File

@ -104,6 +104,10 @@
#define USE_PACKAGES maya #define USE_PACKAGES maya
#define TARGET mayasavepview #define TARGET mayasavepview
// Since mayasavepview doesn't include pandatoolbase.h, we have to
// pass in HAVE_IOSTREAM on the command line.
#define EXTRA_CDEFS $[EXTRA_CDEFS] $[if $[HAVE_IOSTREAM],HAVE_IOSTREAM]
#if $[WINDOWS_PLATFORM] #if $[WINDOWS_PLATFORM]
#define dlllib mll #define dlllib mll
#endif #endif

View File

@ -29,9 +29,11 @@
#define _BOOL 1 #define _BOOL 1
#endif #endif
#ifdef HAVE_IOSTREAM
// This will ask Maya 5.0 or better to use the new <iostream> library // This will ask Maya 5.0 or better to use the new <iostream> library
// instead of the old <iostream.h> library. // instead of the old <iostream.h> library.
#define REQUIRE_IOSTREAM 1 #define REQUIRE_IOSTREAM
#endif // HAVE_IOSTREAM
#include <maya/MArgList.h> #include <maya/MArgList.h>
#include <maya/MPxCommand.h> #include <maya/MPxCommand.h>