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
No related branches found
No related tags found
No related merge requests found
Pipeline #4996 passed
...@@ -25,9 +25,6 @@ ...@@ -25,9 +25,6 @@
#include "sockwrap.h" #include "sockwrap.h"
#include "nopen.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 */ /* Network open function. Opens all files DENYALL, DENYWRITE, or DENYNONE */
/* depending on access, and retries LOOP_NOPEN number of times if the */ /* depending on access, and retries LOOP_NOPEN number of times if the */
......
...@@ -26,6 +26,9 @@ ...@@ -26,6 +26,9 @@
#include <fcntl.h> /* O_RDONLY */ #include <fcntl.h> /* O_RDONLY */
#include "gen_defs.h" /* BOOL (switch to stdbool when we stop using BCB6) */ #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 #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment