Skip to content

Commit

Permalink
xrRenderPC_GL: fix some compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
eagleivg authored and q4a committed Sep 29, 2018
1 parent 14ad749 commit d89c35e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/Common/PlatformLinux.inl
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@ inline bool strncpy_s(char * dest, size_t, const char * source, size_t num) {
inline bool strncpy_s(char * dest, const char * source, size_t num) {
return NULL == strncpy(dest, source, num);
}
#define strcpy_s(dest, source) (NULL == strcpy(dest, source))
#define strcpy_s(dest, num, source) (NULL == strcpy(dest, source))
#define strcat_s(dest, num, source) (dest == strcat(dest, source))
#define _vsnprintf vsnprintf
Expand Down
1 change: 1 addition & 0 deletions src/Layers/xrRender/SkeletonCustom.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include "FHierrarhyVisual.h"
#include "xrCore/Animation/Bone.hpp"
#include "Include/xrRender/Kinematics.h"
#include "SkeletonX.h"

// consts
extern Lock UCalc_Mutex;
Expand Down
1 change: 1 addition & 0 deletions src/Layers/xrRenderPC_GL/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ add_dir("${DIRS}")
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/../..
${CMAKE_CURRENT_SOURCE_DIR}/../../../Externals/luabind
${CMAKE_CURRENT_SOURCE_DIR}/../../../Externals/gli
${CMAKE_CURRENT_SOURCE_DIR}/../../../sdk/include
${SDL_INCLUDE_DIRS}
)
Expand Down
2 changes: 1 addition & 1 deletion src/Layers/xrRenderPC_GL/blender_combine.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include "stdafx.h"
#pragma hdrstop

#include "Blender_combine.h"
#include "blender_combine.h"

CBlender_combine::CBlender_combine() { description.CLS = 0; }
CBlender_combine::~CBlender_combine() { }
Expand Down

0 comments on commit d89c35e

Please sign in to comment.