Detecting 64bit compile in C

Since you tagged this “gcc”, try

#if __x86_64__
/* 64-bit */
#endif

Leave a Comment