Browse Source

Fix pnUtilsExe.

Darryl Pogue 13 years ago
parent
commit
908ab6d632
  1. 2
      Sources/Plasma/NucleusLib/pnUtils/pnUtAllIncludes.h
  2. 3
      Sources/Plasma/NucleusLib/pnUtilsExe/Private/pnUteTls.cpp

2
Sources/Plasma/NucleusLib/pnUtils/pnUtAllIncludes.h

@ -61,9 +61,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#include "pnUtPriQ.h" #include "pnUtPriQ.h"
#include "pnUtSync.h" #include "pnUtSync.h"
#include "pnUtTime.h" #include "pnUtTime.h"
#if HS_BUILD_FOR_WIN32
#include "pnUtTls.h" #include "pnUtTls.h"
#endif
#include "pnUtStr.h" #include "pnUtStr.h"
#include "pnUtRef.h" #include "pnUtRef.h"
#include "pnUtPath.h" #include "pnUtPath.h"

3
Sources/Plasma/NucleusLib/pnUtilsExe/Private/pnUteTls.cpp

@ -48,6 +48,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#include "../Pch.h" #include "../Pch.h"
#pragma hdrstop #pragma hdrstop
#if HS_BUILD_FOR_WIN32
/***************************************************************************** /*****************************************************************************
* *
@ -105,3 +106,5 @@ void ThreadAssertCanBlock (const char file[], int line) {
if (ThreadLocalGetValue(s_tlsNoBlock)) if (ThreadLocalGetValue(s_tlsNoBlock))
ErrorAssert(line, file, "This thread may not block"); ErrorAssert(line, file, "This thread may not block");
} }
#endif

Loading…
Cancel
Save