On 12 March 2018 at 11:34, Arno Steffens wrote:
> You are right, the bits/fcntl-32.h at the very end has a
> #include
> But, all lines in are greyed (not active), except these I
> noted as bold (below). So it not become active.
> I would assume __arm__ should be set by someone.
>
> It seems it
ude
#endif
#elif __MHWORDSIZE == 64
#include
#else
#error "Unknown __WORDSIZE detected"
#endif /* matches #if __WORDSIZE == 32 */
Gesendet: Montag, 12. März 2018 um 11:00 Uhr
Von: "Burton, Ross" <ross.bur...@intel.com>
An: "Arno Steffens" <s.
== 32
> #ifdef _MIPS_SIM
> #if _MIPS_SIM == _ABIO32
> #include
> #elif _MIPS_SIM == _ABIN32
> #include
> #else
> #error "Unknown _MIPS_SIM"
> #endif
> #else /* _MIPS_SIM is not defined */
> #include
> #endif
> #elif __MHWORDSIZE == 64
> #include
>
018 um 11:00 Uhr
Von: "Burton, Ross"
An: "Arno Steffens"
Cc: Yocto-mailing-list
Betreff: Re: [yocto] O_RDONLY ... missed bits/fcntl.h not as expected
Can you explain what the actual problem is?
For me the include you'd use in programs includes which includes which defin
Can you explain what the actual problem is?
For me the include you'd use in programs includes
which includes which defines O_RDONLY.
Ross
On 12 March 2018 at 07:32, Arno Steffens wrote:
> I looked for
> #define O_RDONLY 00
> #define O_WRONLY 01
> #define O_RDWR
I looked for
#define O_RDONLY 00
#define O_WRONLY 01
#define O_RDWR 02
and found it in : bits/fcntl-linux.h. According to this file it should not be
included, but bits/fcntl.h.
And it requires something like that:
A minimal contains just:
struct flock