parent
76240c4209
commit
89d11bc2d2
6
fitsio.h
6
fitsio.h
|
@ -69,7 +69,7 @@ SERVICES PROVIDED HEREUNDER."
|
|||
# define _MIPS_SZLONG 64
|
||||
#endif
|
||||
|
||||
#if defined(linux) || defined(__APPLE__) || defined(__sgi)
|
||||
#if defined(__linux__) || defined(__APPLE__) || defined(__sgi)
|
||||
# include <sys/types.h> /* apparently needed on debian linux systems */
|
||||
#endif /* to define off_t */
|
||||
|
||||
|
@ -83,10 +83,10 @@ SERVICES PROVIDED HEREUNDER."
|
|||
/* on whether _LARGEFILE_SOURCE is defined in sys/feature_tests.h */
|
||||
/* (at least on Solaris platforms using cc) */
|
||||
|
||||
/* Debian systems require: "(defined(linux) && defined(__off_t_defined))" */
|
||||
/* Debian systems require: "(defined(__linux__) && defined(__off_t_defined))" */
|
||||
/* the mingw-w64 compiler requires: "(defined(__MINGW32__) && defined(_OFF_T_DEFINED))" */
|
||||
#if defined(_OFF_T) \
|
||||
|| (defined(linux) && defined(__off_t_defined)) \
|
||||
|| (defined(__linux__) && defined(__off_t_defined)) \
|
||||
|| (defined(__MINGW32__) && defined(_OFF_T_DEFINED)) \
|
||||
|| defined(_MIPS_SZLONG) || defined(__APPLE__) || defined(_AIX)
|
||||
# define OFF_T off_t
|
||||
|
|
Loading…
Reference in New Issue