X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=linux-x86%2Ftoolchain%2Fi686-unknown-linux-gnu-4.2.1%2Flib%2Fgcc%2Fi686-unknown-linux-gnu%2F4.2.1%2Finclude%2Fasm%2Fposix_types.h;fp=linux-x86%2Ftoolchain%2Fi686-unknown-linux-gnu-4.2.1%2Flib%2Fgcc%2Fi686-unknown-linux-gnu%2F4.2.1%2Finclude%2Fasm%2Fposix_types.h;h=ca9ab7a0b960a7cd5425b4ef1ced05ce73765b41;hb=92271468f2a0396b65b13e9a934608bda6047ac7;hp=0000000000000000000000000000000000000000;hpb=e7214a75e616f54c5de3b38bfceae11ee5f1b9eb;p=android-x86%2Fprebuilt.git diff --git a/linux-x86/toolchain/i686-unknown-linux-gnu-4.2.1/lib/gcc/i686-unknown-linux-gnu/4.2.1/include/asm/posix_types.h b/linux-x86/toolchain/i686-unknown-linux-gnu-4.2.1/lib/gcc/i686-unknown-linux-gnu/4.2.1/include/asm/posix_types.h new file mode 100644 index 0000000..ca9ab7a --- /dev/null +++ b/linux-x86/toolchain/i686-unknown-linux-gnu-4.2.1/lib/gcc/i686-unknown-linux-gnu/4.2.1/include/asm/posix_types.h @@ -0,0 +1,29 @@ +/* DO NOT EDIT THIS FILE. + + It has been auto-edited by fixincludes from: + + "/usr/include/asm/posix_types.h" + + This had to be done to correct non-standard usages in the + original, manufacturer supplied header file. */ + +/* This file fixes a bug in the __FD_ZERO macro + for older versions of the Linux kernel. */ +#ifndef _POSIX_TYPES_H_WRAPPER +#include + #include_next + +#if defined(__FD_ZERO) && !defined(__GLIBC__) +#undef __FD_ZERO +#define __FD_ZERO(fdsetp) \ + do { \ + int __d0, __d1; \ +__asm__ __volatile__("cld ; rep ; stosl" \ +: "=&c" (__d0), "=&D" (__d1) \ +: "a" (0), "0" (__FDSET_LONGS), \ + "1" ((__kernel_fd_set *) (fdsetp)) :"memory"); \ + } while (0) +#endif + +#define _POSIX_TYPES_H_WRAPPER +#endif /* _POSIX_TYPES_H_WRAPPER */