fmacros.h 357 Bytes
Newer Older
1 2 3 4 5
#ifndef __zlog_fmacro_h
#define __zlog_fmacro_h

#define _BSD_SOURCE

Boris Manojlovic's avatar
Boris Manojlovic committed
6 7
#if defined(__linux__) || defined(__OpenBSD__) || defined(_AIX)
#ifndef _XOPEN_SOURCE
8
#define _XOPEN_SOURCE 700
Boris Manojlovic's avatar
Boris Manojlovic committed
9 10 11 12
#endif
#ifndef _XOPEN_SOURCE_EXTENDED
#define _XOPEN_SOURCE_EXTENDED
#endif
13 14 15 16 17 18 19 20
#else
#define _XOPEN_SOURCE
#endif

#define _LARGEFILE_SOURCE
#define _FILE_OFFSET_BITS 64

#endif