opnsense-src/contrib/libevent/cmake/CheckFileOffsetBits.c
Cy Schubert 4ebd34fbd5 libevent: Import libevent 2.1.12
Merge commit '5223d1d95fddcef6f9a36e264a5800bd907ade8b' into main

(cherry picked from commit b50261e21f39a6c7249a49e7b60aa878c98512a8)
2023-11-28 07:15:25 -08:00

14 lines
295 B
C

#include <sys/types.h>
#define KB ((off_t)1024)
#define MB ((off_t)1024 * KB)
#define GB ((off_t)1024 * MB)
#define TB ((off_t)1024 * GB)
int t2[(((64 * GB -1) % 671088649) == 268434537)
&& (((TB - (64 * GB -1) + 255) % 1792151290) == 305159546)? 1: -1];
int main()
{
;
return 0;
}