]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
os/fs: The usage of __SWORD_TYPE hinders portability because it's not standardized... 6262/head
authorJohn Coyle <dx9err@gmail.com>
Wed, 14 Oct 2015 15:01:10 +0000 (11:01 -0400)
committerJohn Coyle <dx9err@gmail.com>
Mon, 19 Oct 2015 00:53:43 +0000 (20:53 -0400)
Signed-off-by: John Coyle <dx9err@gmail.com>
src/os/fs/XFS.h

index 1c3c3c4c493c2c4ac8af483a8c3eef5ebe7fed8c..7262f76961cc1b95e3cbdeb8f6291697f43962d6 100644 (file)
@@ -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 {