mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
since we include dtool_config.h, no need to play games with command-line definitions
This commit is contained in:
parent
31eb743be3
commit
e4b859c51d
@ -104,10 +104,6 @@
|
||||
#define USE_PACKAGES maya
|
||||
#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]
|
||||
#define dlllib mll
|
||||
#endif
|
||||
|
@ -29,6 +29,11 @@
|
||||
#define _BOOL 1
|
||||
#endif
|
||||
|
||||
// Even though we don't include any Panda headers, it's safe to
|
||||
// include this one, since it only defines some macros that we need to
|
||||
// make this program platform-independent.
|
||||
#include "dtool_config.h"
|
||||
|
||||
#ifdef HAVE_IOSTREAM
|
||||
// This will ask Maya 5.0 or better to use the new <iostream> library
|
||||
// instead of the old <iostream.h> library.
|
||||
@ -39,12 +44,6 @@
|
||||
#include <maya/MPxCommand.h>
|
||||
#include <maya/MObject.h>
|
||||
|
||||
// Even though we don't include any Panda headers, it's safe to
|
||||
// include this one, since it only defines some macros that we need to
|
||||
// make this program platform-independent.
|
||||
#include "dtool_config.h"
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Class : MayaSavePview
|
||||
// Description : This class serves as a plug-in to Maya to save the
|
||||
|
Loading…
x
Reference in New Issue
Block a user