Skip to content

Commit

Permalink
xrCore: fix define conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
eagleivg committed Sep 22, 2018
1 parent 966a40b commit 5504fe1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/xrCore/Math/MathUtil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include "Layers/xrRender/light.h"
#endif
#include "PLC_SSE.hpp"
#if defined(WINDOWS) and defined(XR_X86)
#if defined(WINDOWS) && defined(XR_X86)
#include "SkinXW_SSE.hpp"
#else
#include "SkinXW_CPP.hpp"
Expand All @@ -39,7 +39,7 @@ void Initialize()
static bool initialized = false;
if (initialized)
return;
#if defined(WINDOWS) and defined(XR_X86)
#if defined(WINDOWS) && defined(XR_X86)
Skin1W = Skin1W_SSE;
Skin2W = Skin2W_SSE;
Skin3W = Skin3W_SSE;
Expand Down
2 changes: 1 addition & 1 deletion src/xrCore/Math/SkinXW_SSE.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace XRay
{
namespace Math
{
#if defined(WINDOWS) and defined(XR_X86)
#if defined(WINDOWS) && defined(XR_X86)
#define transform_dir(idx, res, SX, SY, SZ, T1) \
\
__asm movzx eax, \
Expand Down
2 changes: 1 addition & 1 deletion src/xrCore/Math/SkinXW_SSE.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace XRay
{
namespace Math
{
#if defined(WINDOWS) and defined(XR_X86)
#if defined(WINDOWS) && defined(XR_X86)
void Skin1W_SSE(vertRender* D, vertBoned1W* S, u32 vCount, CBoneInstance* Bones);
void Skin2W_SSE(vertRender* D, vertBoned2W* S, u32 vCount, CBoneInstance* Bones);
void Skin3W_SSE(vertRender* D, vertBoned3W* S, u32 vCount, CBoneInstance* Bones);
Expand Down

0 comments on commit 5504fe1

Please sign in to comment.