MacOS portability changes contributed by "Robert Puyol" <puyol@abvent.fr>
This commit is contained in:
parent
72ea27e43b
commit
a2410cd316
1 changed files with 15 additions and 2 deletions
17
DEM/dem.cxx
17
DEM/dem.cxx
|
@ -28,18 +28,28 @@
|
||||||
# include <config.h>
|
# include <config.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <Include/compiler.h>
|
||||||
|
|
||||||
#include <ctype.h> // isspace()
|
#include <ctype.h> // isspace()
|
||||||
#include <stdlib.h> // atoi()
|
#include <stdlib.h> // atoi()
|
||||||
#include <math.h> // rint()
|
#include <math.h> // rint()
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <sys/stat.h> // stat()
|
#ifdef HAVE_SYS_STAT_H
|
||||||
#include <errno.h>
|
# include <sys/stat.h> // stat()
|
||||||
|
#endif
|
||||||
|
#ifdef FG_HAVE_STD_INCLUDES
|
||||||
|
# include <cerrno>
|
||||||
|
#else
|
||||||
|
# include <errno.h>
|
||||||
|
#endif
|
||||||
#ifdef HAVE_UNISTD_H
|
#ifdef HAVE_UNISTD_H
|
||||||
# include <unistd.h> // stat()
|
# include <unistd.h> // stat()
|
||||||
#endif
|
#endif
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
#include STL_IOSTREAM
|
||||||
|
|
||||||
// #include <zlib/zlib.h>
|
// #include <zlib/zlib.h>
|
||||||
#include <Misc/fgstream.hxx>
|
#include <Misc/fgstream.hxx>
|
||||||
#include <Misc/strutils.hxx>
|
#include <Misc/strutils.hxx>
|
||||||
|
@ -858,6 +868,9 @@ fgDEM::~fgDEM( void ) {
|
||||||
|
|
||||||
|
|
||||||
// $Log$
|
// $Log$
|
||||||
|
// Revision 1.22 1999/01/19 20:56:56 curt
|
||||||
|
// MacOS portability changes contributed by "Robert Puyol" <puyol@abvent.fr>
|
||||||
|
//
|
||||||
// Revision 1.21 1998/11/06 14:04:32 curt
|
// Revision 1.21 1998/11/06 14:04:32 curt
|
||||||
// Changes due to updates in fgstream.
|
// Changes due to updates in fgstream.
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in a new issue