From 1bab773cab96d563bfa9fdcf93eee178f1cc6fda Mon Sep 17 00:00:00 2001 From: John Coyle Date: Wed, 14 Oct 2015 11:01:10 -0400 Subject: [PATCH] os/fs: The usage of __SWORD_TYPE hinders portability because it's not standardized. Removed __SWORD_TYPE dependency. Signed-off-by: John Coyle --- src/os/fs/XFS.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/os/fs/XFS.h b/src/os/fs/XFS.h index 1c3c3c4c493c..7262f76961cc 100644 --- a/src/os/fs/XFS.h +++ b/src/os/fs/XFS.h @@ -18,7 +18,7 @@ #include "FS.h" # ifndef XFS_SUPER_MAGIC -static const __SWORD_TYPE XFS_SUPER_MAGIC(0x58465342); +#define XFS_SUPER_MAGIC 0x58465342 # endif class XFS : public FS { -- 2.47.3