##
-AM_COMMON_FLAGS = -Wall -D__CEPH__ -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -rdynamic \
+AM_COMMON_FLAGS = -Wall -D__CEPH__ -D_FILE_OFFSET_BITS=64 -D_REENTRANT \
+-D_THREAD_SAFE -D__STDC_FORMAT_MACROS -rdynamic \
${WARN_TYPE_LIMITS} ${WARN_IGNORED_QUALIFIERS} -Winit-self -Wpointer-arith \
-fno-strict-aliasing
*
*/
-#define __STDC_FORMAT_MACROS // for PRId64, etc.
-
#include "common/perf_counters.h"
#include "common/dout.h"
#include "common/errno.h"
*
*/
-#define __STDC_FORMAT_MACROS
#include "common/config.h"
#include "common/ceph_argparse.h"
*
*/
-#define __STDC_FORMAT_MACROS
#include "common/Cond.h"
#include "common/dout.h"
#include "common/errno.h"
*
*/
-
-#define __STDC_FORMAT_MACROS
-
#include "CInode.h"
#include "CDir.h"
#include "CDentry.h"
#ifndef CEPH_MDSTYPES_H
#define CEPH_MDSTYPES_H
-#ifndef __STDC_FORMAT_MACROS
-#define __STDC_FORMAT_MACROS
-#endif
-
#include <inttypes.h>
#include <math.h>
#include <ostream>
#include "common/perf_counters.h"
#include "common/sync_filesystem.h"
-#define __STDC_FORMAT_MACROS
#include <inttypes.h>
#include <unistd.h>
#include <stdlib.h>
*
*/
-#define __STDC_FORMAT_MACROS
-
#include <dirent.h>
#include <errno.h>
#include <fstream>
*
*/
-#define __STDC_FORMAT_MACROS
#include "mon/MonClient.h"
#include "mon/MonMap.h"
#include "common/config.h"
*
*/
-#define __STDC_FORMAT_MACROS
#include "include/rados/librados.h"
#include "include/rbd/librbd.h"
*
*/
-#define __STDC_FORMAT_MACROS
#include "include/assert.h"
#include "include/rbd/librbd.hpp"
#include "include/rados/librados.hpp"