mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-22 04:01:31 +00:00
Fix namespace issue
windows.h must be included in the main namespace on mingw64, otherwise there are loads of compile errors
This commit is contained in:
parent
8f7b0ef4eb
commit
e1e5ae16e2
1 changed files with 4 additions and 2 deletions
|
@ -31,8 +31,6 @@
|
|||
**
|
||||
*/
|
||||
|
||||
namespace FileSys {
|
||||
|
||||
#ifdef _WIN32
|
||||
|
||||
#ifndef _WINNT_
|
||||
|
@ -40,6 +38,8 @@ namespace FileSys {
|
|||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
namespace FileSys {
|
||||
|
||||
class FInternalCriticalSection
|
||||
{
|
||||
public:
|
||||
|
@ -82,6 +82,8 @@ void LeaveCriticalSection(FInternalCriticalSection *c)
|
|||
|
||||
#include <pthread.h>
|
||||
|
||||
namespace FileSys {
|
||||
|
||||
class FInternalCriticalSection
|
||||
{
|
||||
public:
|
||||
|
|
Loading…
Reference in a new issue