1
0
Fork 0

[types] Define OFFT_MAX somehow

This commit is contained in:
Witold Filipczyk 2024-04-04 15:30:09 +02:00
parent 41724fb217
commit d09f8060ee
1 changed files with 2 additions and 0 deletions

View File

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