Patches to enable FreeBSD build
platform.h: fix wrong check for endianness, fix lchown aliasing to chown on uclibc. Code seems to not be affected in my testing. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@@ -68,6 +68,10 @@
|
||||
# define CSWTCH _POSIX_VDISABLE
|
||||
#endif
|
||||
|
||||
#ifndef IUCLC
|
||||
# define IUCLC 0
|
||||
#endif
|
||||
|
||||
/* SunOS 5.3 loses (^Z doesn't work) if 'swtch' is the same as 'susp'.
|
||||
So the default is to disable 'swtch.' */
|
||||
#if defined(__sparc__) && defined(__svr4__)
|
||||
|
Reference in New Issue
Block a user