summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPranith Kumar K <pkarampu@redhat.com>2014-04-27 07:00:34 +0530
committerAnand Avati <avati@redhat.com>2014-04-26 23:02:03 -0700
commitfbef3a51c501c67ce6814dd16efb87758d855d48 (patch)
treeee108ae9efd59961047470e9d9b75772eaf0cfd0
parent3b40a553f466aa3d671efc2ae892215bebaa4c7b (diff)
libglusterfs: Define macro GF_PRI_USEC for Linux as well
Change-Id: I073f1f4ead4391d497fbb7603f9ee0257271493b BUG: 1089172 Signed-off-by: Pranith Kumar K <pkarampu@redhat.com> Reviewed-on: http://review.gluster.org/7571 Reviewed-by: Harshavardhana <harsha@harshavardhana.net> Tested-by: Harshavardhana <harsha@harshavardhana.net> Reviewed-by: Anand Avati <avati@redhat.com>
-rw-r--r--libglusterfs/src/logging.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libglusterfs/src/logging.h b/libglusterfs/src/logging.h
index 3c83ebb..0c5c3b4 100644
--- a/libglusterfs/src/logging.h
+++ b/libglusterfs/src/logging.h
@@ -36,6 +36,7 @@
#define GF_PRI_NLINK PRIu32
#define GF_PRI_SECOND "lu"
#define GF_PRI_SUSECONDS "06ld"
+#define GF_PRI_USEC "ld"
#endif
#define GF_PRI_BLKSIZE PRId32
#define GF_PRI_SIZET "zu"