File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed
lib/os/windows/zlib-1.2.3 Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -447,6 +447,21 @@ typedef uLong FAR uLongf;
447
447
# define Z_HAVE_STDARG_H
448
448
#endif
449
449
450
+ #ifdef STDC
451
+ # ifndef Z_SOLO
452
+ # endif
453
+ #endif
454
+
455
+ #if defined(STDC ) || defined(Z_HAVE_STDARG_H )
456
+ # ifndef Z_SOLO
457
+ # endif
458
+ #endif
459
+
460
+ #ifdef _WIN32
461
+ # ifndef Z_SOLO
462
+ # endif
463
+ #endif
464
+
450
465
/* a little trick to accommodate both "#define _LARGEFILE64_SOURCE" and
451
466
* "#define _LARGEFILE64_SOURCE 1" as requesting 64-bit operations, (even
452
467
* though the former does not conform to the LFS document), but considering
@@ -470,13 +485,15 @@ typedef uLong FAR uLongf;
470
485
471
486
#if 0 /* HAVE_UNISTD_H -- this line is updated by ./configure */
472
487
# include <sys/types.h> /* for off_t */
473
- # include <unistd.h> /* for SEEK_* and off_t */
488
+ # if defined(Z_HAVE_UNISTD_H )
489
+ # include <unistd.h> /* for SEEK_*, off_t, and _LFS64_LARGEFILE */
474
490
# ifdef VMS
475
491
# include <unixio.h> /* for off_t */
476
492
# endif
477
493
# ifndef z_off_t
478
494
# define z_off_t off_t
479
495
# endif
496
+ # endif
480
497
#endif
481
498
482
499
#if defined(_LFS64_LARGEFILE ) && _LFS64_LARGEFILE - 0
You can’t perform that action at this time.
0 commit comments