Skip to content

Commit

Permalink
Limited scope of some Windows-specific defines for LocalFile strategy
Browse files Browse the repository at this point in the history
Could casue conflicts in other headers included later
  • Loading branch information
fredilarsen committed Dec 17, 2020
1 parent 9df0150 commit 71353ef
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/strategies/LocalFile/FileLockFunctions.h
Original file line number Diff line number Diff line change
Expand Up @@ -233,5 +233,12 @@ int LockFileSection(const int iFileNo, // the fileno
#undef W_OK
#undef R_OK
#undef X_OK
#undef access
#undef lseek
#undef locking
#undef open
#undef write
#undef read
#undef close
#endif

0 comments on commit 71353ef

Please sign in to comment.