1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-20 00:15:31 +00:00

[types] Define OFFT_MAX somehow

This commit is contained in:
Witold Filipczyk 2024-04-04 15:30:09 +02:00
parent 41724fb217
commit d09f8060ee

View File

@ -70,6 +70,8 @@
#define OFFT_MAX INT_MAX #define OFFT_MAX INT_MAX
#elif SIZEOF_OFF_T == SIZEOF_SHORT #elif SIZEOF_OFF_T == SIZEOF_SHORT
#define OFFT_MAX SHRT_MAX #define OFFT_MAX SHRT_MAX
#else
#define OFFT_MAX LONG_MAX
#endif #endif
#endif #endif