Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trouble with eif_file_mkstemp #56

Open
ghost opened this issue Oct 15, 2022 · 0 comments
Open

Trouble with eif_file_mkstemp #56

ghost opened this issue Oct 15, 2022 · 0 comments

Comments

@ghost
Copy link

ghost commented Oct 15, 2022

This very function caused so much troubles for me. I'm trying to compile with BCC. _O_EXCL is defined in <fcntl.h> and _SH_DENYRW is defined in <share.h> and all of these headers are included (see line 2244 in gec9.c). For unknown reasons, the compiler always failed with error about _O_EXCL and _SH_DENYRW are undefined. I even used dirty hack by putting these lines just before the declaration of eif_file_mkstemp but it still failed with the same error.

#include <share.h>
#include <fcntl.h>

Please help @ebezault

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants