Skip to content
Snippets Groups Projects
Commit f50fab16 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

We actually use these NOPEN_* macros in main.cpp

So move to nopen.h
parent 41b6e894
Branches
Tags
No related merge requests found
Pipeline #4996 passed
......@@ -25,9 +25,6 @@
#include "sockwrap.h"
#include "nopen.h"
#define FNOPEN_BUF_SIZE (2*1024)
#define LOOP_NOPEN 50 /* Retries before file access denied */
/****************************************************************************/
/* Network open function. Opens all files DENYALL, DENYWRITE, or DENYNONE */
/* depending on access, and retries LOOP_NOPEN number of times if the */
......
......@@ -26,6 +26,9 @@
#include <fcntl.h> /* O_RDONLY */
#include "gen_defs.h" /* BOOL (switch to stdbool when we stop using BCB6) */
#define FNOPEN_BUF_SIZE (2*1024)
#define LOOP_NOPEN 50 /* Retries before file access denied */
#ifdef __cplusplus
extern "C" {
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment