From: John Coyle Date: Wed, 14 Oct 2015 15:01:10 +0000 (-0400) Subject: os/fs: The usage of __SWORD_TYPE hinders portability because it's not standardized... X-Git-Tag: v10.0.2~171^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1bab773cab96d563bfa9fdcf93eee178f1cc6fda;p=ceph.git os/fs: The usage of __SWORD_TYPE hinders portability because it's not standardized. Removed __SWORD_TYPE dependency. Signed-off-by: John Coyle --- 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 {