Browse Source

sys: move thread.h to the sys/ directory.

legacy
Sam Hocevar sam 12 years ago
parent
commit
1a54a81167
5 changed files with 8 additions and 7 deletions
  1. +1
    -2
      src/Makefile.am
  2. +1
    -1
      src/core.h
  3. +1
    -1
      src/lol/sys/thread.h
  4. +5
    -3
      src/lolcore.vcxproj
  5. +0
    -0
      src/sys/threadbase.h

+ 1
- 2
src/Makefile.am View File

@@ -46,8 +46,6 @@ liblol_a_SOURCES = \
\
base/hash.cpp base/string.cpp \
\
thread/threadbase.h thread/thread.h \
\
math/vector.cpp math/real.cpp math/half.cpp math/trig.cpp \
math/geometry.cpp \
\
@@ -74,6 +72,7 @@ liblol_a_SOURCES = \
mesh/mesh.cpp mesh/mesh.h \
\
sys/init.cpp \
sys/threadbase.h sys/thread.h \
\
image/image.cpp image/image.h image/image-private.h \
image/codec/gdiplus-image.cpp \


+ 1
- 1
src/core.h View File

@@ -89,12 +89,12 @@ static inline int isnan(float f)
#include <lol/math/geometry.h>

#include <lol/sys/init.h>
#include <lol/sys/thread.h>

#include <lol/image/color.h>

#include "numeric.h"
#include "timer.h"
#include "thread/thread.h"

// Static classes
#include "log.h"


src/thread/thread.h → src/lol/sys/thread.h View File

@@ -19,7 +19,7 @@
#if defined __CELLOS_LV2__
# include "platform/ps3/threadbase.h"
#else
# include "threadbase.h"
# include "sys/threadbase.h"
#endif

namespace lol

+ 5
- 3
src/lolcore.vcxproj View File

@@ -599,6 +599,8 @@
<ClInclude Include="lol\math\real.h" />
<ClInclude Include="lol\math\remez.h" />
<ClInclude Include="lol\math\vector.h" />
<ClInclude Include="lol\sys\init.h" />
<ClInclude Include="lol\sys\thread.h" />
<ClInclude Include="lol\unit.h" />
<ClInclude Include="mesh\mesh.h" />
<ClInclude Include="map.h" />
@@ -618,9 +620,9 @@
<ClInclude Include="scene.h" />
<ClInclude Include="simd.h" />
<ClInclude Include="sprite.h" />
<ClInclude Include="sys\threadbase.h" />
<ClInclude Include="sys\init.cpp" />
<ClInclude Include="text.h" />
<ClInclude Include="thread\thread.h" />
<ClInclude Include="thread\threadbase.h" />
<ClInclude Include="ticker.h" />
<ClInclude Include="tiler.h" />
<ClInclude Include="tileset.h" />
@@ -647,4 +649,4 @@
<ImportGroup Label="ExtensionTargets">
<Import Project="$(SolutionDir)\Lol.Fx.targets" />
</ImportGroup>
</Project>
</Project>

src/thread/threadbase.h → src/sys/threadbase.h View File


Loading…
Cancel
Save