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.
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 line2244
ingec9.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 ofeif_file_mkstemp
but it still failed with the same error.Please help @ebezault