More updates from Christophe Grenier for DJGPP and FreeBSD.

(Logical change 1.253)
edge.strict_endians
cantab.net!aia21 2004-01-07 10:22:51 +00:00
parent 029782c0c1
commit 6651abe322
6 changed files with 18 additions and 5 deletions

View File

@ -58,6 +58,9 @@
double. */
#undef HAVE_LONG_DOUBLE
/* Define to 1 if you have the <machine/endian.h> header file. */
#undef HAVE_MACHINE_ENDIAN_H
/* Define to 1 if your system has a GNU libc compatible `malloc' function, and
to 0 otherwise. */
#undef HAVE_MALLOC
@ -167,6 +170,9 @@
/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H
/* Define to 1 if you have the <sys/vfs.h> header file. */
#undef HAVE_SYS_VFS_H
/* Define to 1 if you have the <time.h> header file. */
#undef HAVE_TIME_H

4
configure vendored
View File

@ -8463,6 +8463,8 @@ fi
@ -8470,7 +8472,7 @@ for ac_header in fcntl.h libintl.h limits.h locale.h mntent.h stddef.h \
stdint.h stdlib.h stdio.h stdarg.h string.h strings.h errno.h time.h \
unistd.h utime.h wchar.h getopt.h features.h endian.h byteswap.h \
sys/endian.h sys/param.h sys/ioctl.h sys/mount.h sys/stat.h \
sys/types.h linux/major.h linux/fd.h
sys/types.h sys/vfs.h linux/major.h linux/fd.h machine/endian.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then

View File

@ -169,7 +169,7 @@ AC_CHECK_HEADERS([fcntl.h libintl.h limits.h locale.h mntent.h stddef.h \
stdint.h stdlib.h stdio.h stdarg.h string.h strings.h errno.h time.h \
unistd.h utime.h wchar.h getopt.h features.h endian.h byteswap.h \
sys/endian.h sys/param.h sys/ioctl.h sys/mount.h sys/stat.h \
sys/types.h linux/major.h linux/fd.h])
sys/types.h sys/vfs.h linux/major.h linux/fd.h machine/endian.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_STDBOOL

View File

@ -39,6 +39,9 @@
#ifdef HAVE_SYS_ENDIAN_H
# include <sys/endian.h>
#endif
#ifdef HAVE_MACHINE_ENDIAN_H
# include <machine/endian.h>
#endif
#ifndef __BYTE_ORDER
# ifdef _BYTE_ORDER
# define __BYTE_ORDER _BYTE_ORDER

View File

@ -18,7 +18,9 @@
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/vfs.h>
#ifdef HAVE_SYS_VFS_H
# include <sys/vfs.h>
#endif
#include <fcntl.h>
#include <stdarg.h>
#include <string.h>

View File

@ -39,8 +39,8 @@ extern const char *ntfs_gpl;
#define PATH_SEP '/'
#define MAX_PATH 1024
#if (REG_NOERROR != 0)
#define REG_NOERROR REG_OKAY
#if !defined(REG_NOERROR) || (REG_NOERROR != 0)
# define REG_NOERROR REG_OKAY
#endif
#define GEN_PRINTF(NAME, STREAM, CONTROL, TRIGGER) \