1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
http://www.ogre3d.org/mantis/view.php?id=425
--- ogre_src_v1-7-4/OgreMain/include/OgreAtomicWrappers.h
+++ ogre_src_v1-7-4/OgreMain/include/OgreAtomicWrappers.h
@@ -31,6 +31,7 @@
#include <signal.h>
#include "OgrePrerequisites.h"
#include "OgreException.h"
+#include "Threading/OgreThreadHeaders.h"
namespace Ogre {
--- ogre_src_v1-7-4/OgreMain/include/OgreCommon.h
+++ ogre_src_v1-7-4/OgreMain/include/OgreCommon.h
@@ -42,6 +42,8 @@
# pragma GCC visibility pop
#endif
+#include "Threading/OgreThreadHeaders.h"
+
namespace Ogre {
/** \addtogroup Core
* @{
--- ogre_src_v1-7-4/OgreMain/include/OgreConvexBody.h
+++ ogre_src_v1-7-4/OgreMain/include/OgreConvexBody.h
@@ -31,6 +31,7 @@
#include "OgrePrerequisites.h"
#include "OgrePolygon.h"
+#include "Threading/OgreThreadHeaders.h"
namespace Ogre
@@ -58,9 +59,7 @@
// Static 'free list' of polygons to save reallocation, shared between all bodies
static PolygonList msFreePolygons;
-#if OGRE_THREAD_SUPPORT
OGRE_STATIC_MUTEX(msFreePolygonsMutex)
-#endif
public:
ConvexBody();
--- ogre_src_v1-7-4/OgreMain/include/OgreLog.h
+++ ogre_src_v1-7-4/OgreMain/include/OgreLog.h
@@ -32,6 +32,8 @@
#include "OgrePrerequisites.h"
#include "OgreString.h"
+#include "Threading/OgreThreadHeaders.h"
+
namespace Ogre {
/** \addtogroup Core
--- ogre_src_v1-7-4/OgreMain/include/OgreSharedPtr.h
+++ ogre_src_v1-7-4/OgreMain/include/OgreSharedPtr.h
@@ -30,6 +30,8 @@
#include "OgrePrerequisites.h"
+#include "Threading/OgreThreadHeaders.h"
+
namespace Ogre {
/** \addtogroup Core
* @{
--- ogre_src_v1-7-4/OgreMain/src/OgreConvexBody.cpp
+++ ogre_src_v1-7-4/OgreMain/src/OgreConvexBody.cpp
@@ -44,9 +44,7 @@
// Statics
//-----------------------------------------------------------------------
ConvexBody::PolygonList ConvexBody::msFreePolygons;
-#if OGRE_THREAD_SUPPORT
OGRE_STATIC_MUTEX_INSTANCE(ConvexBody::msFreePolygonsMutex)
-#endif
//-----------------------------------------------------------------------
void ConvexBody::_initialisePool()
{
|