diff --git a/Sources/Plasma/NucleusLib/pnUtils/pnUtAllIncludes.h b/Sources/Plasma/NucleusLib/pnUtils/pnUtAllIncludes.h index 8e167f45..96305333 100644 --- a/Sources/Plasma/NucleusLib/pnUtils/pnUtAllIncludes.h +++ b/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 "pnUtSync.h" #include "pnUtTime.h" -#if HS_BUILD_FOR_WIN32 #include "pnUtTls.h" -#endif #include "pnUtStr.h" #include "pnUtRef.h" #include "pnUtPath.h" diff --git a/Sources/Plasma/NucleusLib/pnUtilsExe/Private/pnUteTls.cpp b/Sources/Plasma/NucleusLib/pnUtilsExe/Private/pnUteTls.cpp index a2354b39..4001806b 100644 --- a/Sources/Plasma/NucleusLib/pnUtilsExe/Private/pnUteTls.cpp +++ b/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" #pragma hdrstop +#if HS_BUILD_FOR_WIN32 /***************************************************************************** * @@ -105,3 +106,5 @@ void ThreadAssertCanBlock (const char file[], int line) { if (ThreadLocalGetValue(s_tlsNoBlock)) ErrorAssert(line, file, "This thread may not block"); } + +#endif