后台改为zlog实现
This commit is contained in:
24
zlog/fmacros.h
Normal file
24
zlog/fmacros.h
Normal file
@@ -0,0 +1,24 @@
|
||||
#ifndef __zlog_fmacro_h
|
||||
#define __zlog_fmacro_h
|
||||
|
||||
#define _DEFAULT_SOURCE
|
||||
|
||||
#if defined(__linux__) || defined(__OpenBSD__) || defined(_AIX)
|
||||
#ifndef _XOPEN_SOURCE
|
||||
#define _XOPEN_SOURCE 700
|
||||
#endif
|
||||
#ifndef _XOPEN_SOURCE_EXTENDED
|
||||
#define _XOPEN_SOURCE_EXTENDED
|
||||
#endif
|
||||
#else
|
||||
#define _XOPEN_SOURCE
|
||||
#endif
|
||||
|
||||
#ifndef _LARGEFILE_SOURCE
|
||||
#define _LARGEFILE_SOURCE
|
||||
#endif
|
||||
#ifndef _FILE_OFFSET_BITS
|
||||
#define _FILE_OFFSET_BITS 64
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user