mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
Ask Maya to use the new <iostream> interface, which more people these days are likely to have installed.
This commit is contained in:
parent
8721524b7d
commit
be13907577
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user