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
This very function caused so much troubles for me. I'm trying to compile with BCC.
_O_EXCLis defined in<fcntl.h>and_SH_DENYRWis defined in<share.h>and all of these headers are included (see line2244ingec9.c). For unknown reasons, the compiler always failed with error about_O_EXCLand_SH_DENYRWare undefined. I even used dirty hack by putting these lines just before the declaration ofeif_file_mkstempbut it still failed with the same error.Please help @ebezault