mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 13:38:01 +00:00
8902c79aae
This patch adds support for building OpenAFS user-mode code on SunOS 4. It does not include libafs, ulibafs, or any code that needs to understand the filesystem layout (so, no vfsck, and while the salvager will be built, it won't work). (cherry picked from commit 808369b9693bea613ba998e700ec764638b6d54f)
45 lines
961 B
C
45 lines
961 B
C
@BOTTOM@
|
|
#undef PACKAGE
|
|
#undef VERSION
|
|
|
|
#define RCSID(msg) \
|
|
static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg }
|
|
|
|
#undef HAVE_CONNECT
|
|
#undef HAVE_GETHOSTBYNAME
|
|
#undef HAVE_RES_SEARCH
|
|
#undef HAVE_SOCKET
|
|
|
|
#if ENDIANESS_IN_SYS_PARAM_H
|
|
# ifndef KERNEL
|
|
# include <sys/types.h>
|
|
# include <sys/param.h>
|
|
# if BYTE_ORDER == BIG_ENDIAN
|
|
# define WORDS_BIGENDIAN 1
|
|
# endif
|
|
# endif
|
|
#endif
|
|
|
|
#undef AFS_AFSDB_ENV
|
|
#undef AFS_NAMEI_ENV
|
|
|
|
#undef BITMAP_LATER
|
|
#undef BOS_RESTRICTED_MODE
|
|
#undef FAST_RESTART
|
|
#undef FULL_LISTVOL_SWITCH
|
|
|
|
#undef INODE_SETATTR_NOT_VOID
|
|
#undef STRUCT_ADDRESS_SPACE_HAS_GFP_MASK
|
|
#undef STRUCT_ADDRESS_SPACE_HAS_PAGE_LOCK
|
|
#undef STRUCT_INODE_HAS_I_TRUNCATE_SEM
|
|
#undef STRUCT_INODE_HAS_I_DIRTY_DATA_BUFFERS
|
|
#undef STRUCT_INODE_HAS_I_DEVICES
|
|
#undef ssize_t
|
|
|
|
/* glue for RedHat kernel bug */
|
|
#undef ENABLE_REDHAT_BUILDSYS
|
|
|
|
#if defined(ENABLE_REDHAT_BUILDSYS) && defined(KERNEL) && defined(REDHAT_FIX)
|
|
#include "redhat-fix.h"
|
|
#endif
|