Changeset 47a619ae in rtems


Ignore:
Timestamp:
Mar 18, 2011, 10:11:43 AM (9 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.11, master
Children:
6557362
Parents:
43b1d3a
Message:

Import from zlib-1.2.5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/zlib/minigzip.c

    r43b1d3a r47a619ae  
    3333#  include <fcntl.h>
    3434#  include <io.h>
     35#  ifdef UNDER_CE
     36#    include <stdlib.h>
     37#  endif
    3538#  define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY)
    3639#else
     
    5154#endif
    5255
     56#if !defined(Z_HAVE_UNISTD_H) && !defined(_LARGEFILE64_SOURCE)
    5357#ifndef WIN32 /* unlink already in stdio.h for WIN32 */
    5458  extern int unlink OF((const char *));
    5559#endif
    56 
    57 #if defined(UNDER_CE) && defined(NO_ERRNO_H)
     60#endif
     61
     62#if defined(UNDER_CE)
    5863#  include <windows.h>
    5964#  define perror(s) pwinerror(s)
     
    117122}
    118123
    119 #endif /* UNDER_CE && NO_ERRNO_H */
     124#endif /* UNDER_CE */
    120125
    121126#ifndef GZ_SUFFIX
Note: See TracChangeset for help on using the changeset viewer.