patch-2.1.116 linux/include/asm-m68k/posix_types.h
Next file: linux/include/asm-m68k/softirq.h
Previous file: linux/include/asm-m68k/pgtable.h
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Mon Aug 10 11:02:24 1998
- Orig file:
v2.1.115/linux/include/asm-m68k/posix_types.h
- Orig date:
Mon Dec 8 23:58:04 1997
diff -u --recursive --new-file v2.1.115/linux/include/asm-m68k/posix_types.h linux/include/asm-m68k/posix_types.h
@@ -37,6 +37,8 @@
#endif /* !defined(__KERNEL__) && !defined(__USE_ALL) */
} __kernel_fsid_t;
+#if defined(__KERNEL__) || !defined(__GLIBC__) || (__GLIBC__ < 2)
+
#undef __FD_SET
#define __FD_SET(d, set) ((set)->fds_bits[__FDELT(d)] |= __FDMASK(d))
@@ -48,5 +50,7 @@
#undef __FD_ZERO
#define __FD_ZERO(fdsetp) (memset (fdsetp, 0, sizeof(*(fd_set *)fdsetp)))
+
+#endif /* defined(__KERNEL__) || !defined(__GLIBC__) || (__GLIBC__ < 2) */
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov