is there a C macro or some kind of way that i can check if my c program was compiled as 64bit or 32bit at compile time in C?
Compiler: GCC Operating systems that i n
GLIBC itself uses this (in inttypes.h):
inttypes.h
#if __WORDSIZE == 64