MacOS portability changes contributed by "Robert Puyol" <puyol@abvent.fr>
This commit is contained in:
parent
23fbd5919f
commit
180e2188ba
3 changed files with 15 additions and 1 deletions
|
@ -29,6 +29,8 @@
|
|||
|
||||
#include <string>
|
||||
|
||||
FG_USING_NAMESPACE(std);
|
||||
|
||||
#include "bucketutils.h"
|
||||
|
||||
#include <Include/compiler.h>
|
||||
|
@ -69,6 +71,9 @@ operator<< ( ostream& out, const fgBUCKET& b )
|
|||
|
||||
|
||||
// $Log$
|
||||
// Revision 1.2 1999/01/19 20:56:53 curt
|
||||
// MacOS portability changes contributed by "Robert Puyol" <puyol@abvent.fr>
|
||||
//
|
||||
// Revision 1.1 1998/11/09 23:42:12 curt
|
||||
// Initial revision.
|
||||
//
|
||||
|
|
|
@ -39,6 +39,11 @@
|
|||
# include <math.h>
|
||||
#endif
|
||||
|
||||
// -rp- assert.h is buggy under MWCWP3, as multiple #include undef assert !
|
||||
#ifdef __MWERKS__
|
||||
# define assert(x)
|
||||
#endif
|
||||
|
||||
const double fgPoint3_Epsilon = 0.0000001;
|
||||
|
||||
enum {PX, PY, PZ}; // axes
|
||||
|
@ -298,6 +303,9 @@ Point3D::distance3D(const Point3D& a ) const
|
|||
|
||||
|
||||
// $Log$
|
||||
// Revision 1.7 1999/01/19 20:56:58 curt
|
||||
// MacOS portability changes contributed by "Robert Puyol" <puyol@abvent.fr>
|
||||
//
|
||||
// Revision 1.6 1998/11/23 21:46:37 curt
|
||||
// Borland portability tweaks.
|
||||
//
|
||||
|
|
|
@ -8,7 +8,8 @@
|
|||
#include <string.h>
|
||||
|
||||
#if !defined( __CYGWIN__ ) && !defined( __CYGWIN32__ )
|
||||
# if !defined( HAVE_STL_SGI_PORT ) // Avoid malloc with STLport
|
||||
# if !defined( HAVE_STL_SGI_PORT ) && !defined( __MWERKS__ )
|
||||
// Avoid malloc with STLport and MSL
|
||||
# include <malloc.h>
|
||||
# endif
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue