Open ketsubouchi opened 3 years ago
CBF_DONT_USE_LONG_LONG could be automated.
Create this checkint.c
include if LONG_MAX == LLONG_MAX error LONG=LLONG endif
Detect by return code such as
$(CC) -E checkint.c || echo #define CBF_DONT_USE_LONG_LONG >> longflag.h
and add #include "longflag.h" to cbf.h
#include "longflag.h"
cbf.h
CBF_DONT_USE_LONG_LONG could be automated.
Create this checkint.c
Detect by return code such as
and add
#include "longflag.h"
tocbf.h