Ask Maya to use the new <iostream> interface, which more people these days are likely to have installed.

This commit is contained in:
David Rose 2005-01-15 00:16:36 +00:00
parent 8721524b7d
commit be13907577

View File

@ -19,11 +19,20 @@
#ifndef MAYASAVEPVIEW_H
#define MAYASAVEPVIEW_H
// We don't want to include pre_maya_include.h here, since that would
// necessitate linking with Pandatool's libmaya.dll, which would in
// turn bring in a lot of stuff from panda that we don't really need.
// Instead, we'll just define the Maya symbols we require here.
// Maya will try to typedef bool unless this symbol is defined.
#ifndef _BOOL
#define _BOOL 1
#endif
// This will ask Maya 5.0 or better to use the new <iostream> library
// instead of the old <iostream.h> library.
#define REQUIRE_IOSTREAM
#include <maya/MArgList.h>
#include <maya/MPxCommand.h>
#include <maya/MObject.h>