aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2012-05-04 18:12:26 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2012-05-04 18:12:26 -0700
commitea1c3b57145c42c1f9e2a4cf9644ff0eb2c9514d (patch)
tree3495028896cf4aa9f918e019e1ebd682b79750fb
parentee85edaf74adfc962ff0281b24aa7aa65a4eff1b (diff)
parenta2e05ead45f57030aa86a82bbaf891f28f7d5a58 (diff)
downloade2fsprogs-ea1c3b57145c42c1f9e2a4cf9644ff0eb2c9514d.tar.gz
am a2e05ead: am 3e60e44f: Merge "Xcode 4.3 compatibility checkin"
* commit 'a2e05ead45f57030aa86a82bbaf891f28f7d5a58': Xcode 4.3 compatibility checkin
-rw-r--r--lib/ext2fs/ext2fs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/ext2fs/ext2fs.h b/lib/ext2fs/ext2fs.h
index 13a2261e..3573e854 100644
--- a/lib/ext2fs/ext2fs.h
+++ b/lib/ext2fs/ext2fs.h
@@ -30,6 +30,14 @@ extern "C" {
#endif
/*
+ * The Apple compiler in Xcode 4.3 fails when inlines are enabled in
+ * so disable them for that compiler.
+ */
+#if __APPLE_CC__ >= 5621
+#define NO_INLINE_FUNCS
+#endif
+
+/*
* Where the master copy of the superblock is located, and how big
* superblocks are supposed to be. We define SUPERBLOCK_SIZE because
* the size of the superblock structure is not necessarily trustworthy