Skip to content

Commit aa9232c

Browse files
committed
pspRT updates msvc compat
1 parent 6ebb9a4 commit aa9232c

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

cpp/include/P3DModel.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
// #include "Octree.h"
3838

3939
//#define DBG
40-
#include "utils/pspDbg.h" // VAR(), DIE_IF()
4140
#include "utils/pspTimer.h" // BlockTimer
4241
#include "utils/pspKdtree.h" // kdtree
4342
// SANDSTROM: ... 2019-Jun-03

cpp/include/utils/pspError.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44
#include <stdlib.h>
55
#include "pspOstr.h"
66

7+
#ifdef _MSC_VER
8+
#ifndef __PRETTY_FUNCTION__
9+
#define __PRETTY_FUNCTION__ __FUNCSIG__
10+
#endif
11+
#endif
12+
713
#ifndef PERROR
814
# define PERROR(m) { \
915
std::cerr<<"==========================="<<std::endl; \

cpp/raycast/pspRT.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#include <chrono>
33

44
//#define DBG
5+
#include "utils/pspDbg.h"
56
#include "utils/pspRT.h"
67
#include "utils/pspTimer.h"
78

0 commit comments

Comments
 (0)