* libparted/fs/xfs/platform_defs.h [__sparc__] (O_DIRECT):
Remove now-unneeded definition.
* parted/table.c (wchar_t): Remove definition.
* parted/strlist.c (wchar_t): Likewise.
* .x-sc_prohibit_always-defined_macros: New file.
Exempt two files from this syntax-check rule.
* Makefile.am (EXTRA_DIST): Add it here.
--- /dev/null
+^parted/strlist\.h$
+^parted/table\.h$
parted.spec.in \
parted.spec \
.x-sc_GPL_version \
+ .x-sc_prohibit_always-defined_macros \
scripts/data/abi/baseline_symbols.txt \
scripts/extract_symvers \
cfg.mk \
# define constpp char * const *
#endif
-#ifdef __sparc__
-# ifndef O_DIRECT
-# define O_DIRECT 0x100000
-# endif
-#endif
-
typedef loff_t xfs_off_t;
typedef uint64_t xfs_ino_t;
typedef uint32_t xfs_dev_t;
#include <wchar.h>
#include <wctype.h>
-#else /* ENABLE_NLS */
-
-#ifdef wchar_t
-#undef wchar_t
-#endif
-
-#define wchar_t char
-
#endif /* !ENABLE_NLS */
#include "strlist.h"
# define L_(str) L##str
#else
# define L_(str) str
-# ifdef wchar_t
-# undef wchar_t
-# endif
-# define wchar_t char
# define wcslen strlen
# define wcswidth strnlen
# define wcscat strcat