Gbp-Pq: Name 03-off_t.diff
This commit is contained in:
Debian Astronomy Maintainers 2022-05-14 03:24:02 +08:00 committed by openKylinBot
parent 76240c4209
commit 89d11bc2d2
1 changed files with 3 additions and 3 deletions

View File

@ -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