1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

Fix default SIZEOF_OFF_T definition logic

This commit is contained in:
Yang Tse 2008-08-26 10:48:52 +00:00
parent 852a02daff
commit 2fdd24c724
2 changed files with 4 additions and 2 deletions

View File

@ -323,7 +323,8 @@
# if defined(_LP64) || defined(_LARGE_FILES) # if defined(_LP64) || defined(_LARGE_FILES)
# define SIZEOF_OFF_T 8 # define SIZEOF_OFF_T 8
# endif # endif
# else # endif
# ifndef SIZEOF_OFF_T
# define SIZEOF_OFF_T 4 # define SIZEOF_OFF_T 4
# endif # endif
#endif #endif

View File

@ -263,7 +263,8 @@ typedef enum {
# if defined(_LP64) || defined(_LARGE_FILES) # if defined(_LP64) || defined(_LARGE_FILES)
# define SIZEOF_OFF_T 8 # define SIZEOF_OFF_T 8
# endif # endif
# else # endif
# ifndef SIZEOF_OFF_T
# define SIZEOF_OFF_T 4 # define SIZEOF_OFF_T 4
# endif # endif
#endif #endif