diff --git a/src/common/filesystem/source/critsec.cpp b/src/common/filesystem/source/critsec.cpp index 874ade79f..b8b8c5522 100644 --- a/src/common/filesystem/source/critsec.cpp +++ b/src/common/filesystem/source/critsec.cpp @@ -31,8 +31,6 @@ ** */ -namespace FileSys { - #ifdef _WIN32 #ifndef _WINNT_ @@ -40,6 +38,8 @@ namespace FileSys { #include #endif +namespace FileSys { + class FInternalCriticalSection { public: @@ -82,6 +82,8 @@ void LeaveCriticalSection(FInternalCriticalSection *c) #include +namespace FileSys { + class FInternalCriticalSection { public: