We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4336181 commit a178d12Copy full SHA for a178d12
1 file changed
thirdparty/loguru/loguru.cpp
@@ -801,6 +801,10 @@ namespace loguru
801
const char* mode_str = (mode == FileMode::Truncate ? "w" : "a");
802
FILE* file;
803
#ifdef _WIN32
804
+ #ifndef _SH_DENYNO
805
+ #define _SH_DENYNO 0x40
806
+ #endif // !_SH_DENYNO
807
+
808
file = _fsopen(path, mode_str, _SH_DENYNO);
809
#else
810
file = fopen(path, mode_str);
0 commit comments