diff options
Diffstat (limited to 'util/longsize.c')
-rw-r--r-- | util/longsize.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/util/longsize.c b/util/longsize.c new file mode 100644 index 0000000..bba1955 --- /dev/null +++ b/util/longsize.c @@ -0,0 +1,11 @@ +#include <stdio.h> + +main() +{ + if (sizeof(long) == 8) { + printf("-DLONG8\n"); + } else if (sizeof(long) == 4) { + printf("-DLONG4\n"); + } + exit(0); +} |