e2fsprogs/ext2_types-wrapper.h
lihaoxiang 25e73cc302 add wrapper header file for i686 and x86_64 then fix conflicts when intall i686 rpms.
(cherry picked from commit 1dd866f5d91b956e916d2953b8210af3bc30b8b8)
2022-06-23 16:02:34 +08:00

14 lines
485 B
C

/* This file is here to prevent a file conflict on multiarch systems. A
* conflict will occur because ext2_types.h has arch-specific definitions.
*
* DO NOT INCLUDE THE NEW FILE DIRECTLY -- ALWAYS INCLUDE THIS ONE INSTEAD. */
#if defined(__i386__)
#include "ext2_types-i386.h"
#elif defined(__x86_64__)
#include "ext2_types-x86_64.h"
#elif defined(__arm__)
#include "ext2_types-arm.h"
#else
#error "This e2fsprogs-devel package does not work your architecture?"
#endif