Skip to content

Commit

Permalink
Use lseek under WinCE.
Browse files Browse the repository at this point in the history
  • Loading branch information
madler committed Feb 13, 2024
1 parent 35175f2 commit 6544c3e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions gzlib.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,9 @@

#include "gzguts.h"

#if defined(UNDER_CE)
# define LSEEK _wcelseek
#elif defined(__DJGPP__)
#if defined(__DJGPP__)
# define LSEEK llseek
#elif defined(_WIN32) && !defined(__BORLANDC__)
#elif defined(_WIN32) && !defined(__BORLANDC__) && !defined(UNDER_CE)
# define LSEEK _lseeki64
#elif defined(_LARGEFILE64_SOURCE) && _LFS64_LARGEFILE-0
# define LSEEK lseek64
Expand Down

0 comments on commit 6544c3e

Please sign in to comment.