Skip to content

Commit d89c35e

Browse files
eagleivgq4a
authored andcommitted
xrRenderPC_GL: fix some compilation error
1 parent 14ad749 commit d89c35e

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

src/Common/PlatformLinux.inl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,7 @@ inline bool strncpy_s(char * dest, size_t, const char * source, size_t num) {
275275
inline bool strncpy_s(char * dest, const char * source, size_t num) {
276276
return NULL == strncpy(dest, source, num);
277277
}
278+
#define strcpy_s(dest, source) (NULL == strcpy(dest, source))
278279
#define strcpy_s(dest, num, source) (NULL == strcpy(dest, source))
279280
#define strcat_s(dest, num, source) (dest == strcat(dest, source))
280281
#define _vsnprintf vsnprintf

src/Layers/xrRender/SkeletonCustom.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#include "FHierrarhyVisual.h"
66
#include "xrCore/Animation/Bone.hpp"
77
#include "Include/xrRender/Kinematics.h"
8+
#include "SkeletonX.h"
89

910
// consts
1011
extern Lock UCalc_Mutex;

src/Layers/xrRenderPC_GL/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ add_dir("${DIRS}")
1212
include_directories(
1313
${CMAKE_CURRENT_SOURCE_DIR}/../..
1414
${CMAKE_CURRENT_SOURCE_DIR}/../../../Externals/luabind
15+
${CMAKE_CURRENT_SOURCE_DIR}/../../../Externals/gli
1516
${CMAKE_CURRENT_SOURCE_DIR}/../../../sdk/include
1617
${SDL_INCLUDE_DIRS}
1718
)

src/Layers/xrRenderPC_GL/blender_combine.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include "stdafx.h"
22
#pragma hdrstop
33

4-
#include "Blender_combine.h"
4+
#include "blender_combine.h"
55

66
CBlender_combine::CBlender_combine() { description.CLS = 0; }
77
CBlender_combine::~CBlender_combine() { }

0 commit comments

Comments
 (0)