总是还要再现查,放个记号吧。
#ifndef INT64_C
#define INT64_C(c) (c ## LL)#define UINT64_C(c) (c ## ULL)
#endif
第二种方法
#ifdef __cplusplus
#define __STDC_CONSTANT_MACROS
#ifdef _STDINT_H
#undef _STDINT_H
#endif
# include <stdint.h>
#endif
总是还要再现查,放个记号吧。
#ifndef INT64_C
#define INT64_C(c) (c ## LL)#endif
第二种方法
#ifdef __cplusplus
#define __STDC_CONSTANT_MACROS
#ifdef _STDINT_H
#undef _STDINT_H
#endif
# include <stdint.h>
#endif