bitops.h: Don't try to do i386 inline asm functions if the compiler
isn't GCC.
ext2fs.h: If EXT2_FLAT_INCLUDES is defined, #include e2_types.h,
instead of linux/types.h, and e2_bitops.h instead of ext2fs/bitops.h.
icount.c, version.c: Don't #include <et/com_err.h>, as it isn't necessary.
+Sun Feb 1 08:20:24 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
+
+ * bitops.h: Don't try to do i386 inline asm functions if the
+ compiler isn't GCC.
+
+ * ext2fs.h: If EXT2_FLAT_INCLUDES is defined, #include e2_types.h,
+ instead of linux/types.h, and e2_bitops.h instead of
+ ext2fs/bitops.h.
+
+ * icount.c, version.c: Don't #include <et/com_err.h>, as it isn't
+ necessary.
+
Sat Jan 17 13:13:31 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
* inode.c (ext2fs_open_inode_scan): Initialize the group variables
* inline.c
*/
#ifdef NO_INLINE_FUNCS
-#if (defined(__i386__) || defined(__i486__) || defined(__i586__) || \
- defined(__mc68000__) || defined(__sparc__))
+#if (defined(__GNUC__) && (defined(__i386__) || defined(__i486__) || \
+ defined(__i586__) || defined(__mc68000__) || \
+ defined(__sparc__)))
/* This prevents bitops.c from trying to include the C */
/* function version of these functions */
#define _EXT2_HAVE_ASM_BITOPS_
#define _INLINE_ extern __inline__
#endif
-#if (defined(__i386__) || defined(__i486__) || defined(__i586__))
+#if ((defined __GNUC__) && (defined(__i386__) || defined(__i486__) || \
+ defined(__i586__)))
#define _EXT2_HAVE_ASM_BITOPS_
#endif
#include <stdlib.h>
+
+#if EXT2_FLAT_INCLUDES
+#include "e2_types.h"
+#else
#include <linux/types.h>
+#endif
typedef __u32 blk_t;
typedef unsigned int dgrp_t;
struct ext2_inode_cache *icache;
};
+#if EXT2_FLAT_INCLUDES
+#include "e2_bitops.h"
+#else
#include "ext2fs/bitops.h"
+#endif
/*
* Return flags for the block iterator functions
* %End-Header%
*/
-#include <et/com_err.h>
#if HAVE_UNISTD_H
#include <unistd.h>
#endif
* %End-Header%
*/
-#include <et/com_err.h>
#if HAVE_UNISTD_H
#include <unistd.h>
#endif