File tree Expand file tree Collapse file tree 2 files changed +16
-16
lines changed Expand file tree Collapse file tree 2 files changed +16
-16
lines changed Original file line number Diff line number Diff line change 1919#define XR_EXPORT __declspec(dllexport)
2020#define XR_IMPORT __declspec(dllimport)
2121
22+ // inline control - redefine to use compiler's heuristics ONLY
23+ // it seems "IC" is misused in many places which cause code-bloat
24+ // ...and VC7.1 really don't miss opportunities for inline :)
25+ #ifdef _EDITOR
26+ # define __forceinline inline
27+ #endif
28+ #define _inline inline
29+ #define __inline inline
30+ #define IC inline
31+ #define ICF __forceinline // !!! this should be used only in critical places found by PROFILER
32+ #ifdef _EDITOR
33+ # define ICN
34+ #else
35+ # define ICN __declspec (noinline)
36+ #endif
37+
2238#ifdef __BORLANDC__
2339#include <vcl.h>
2440#include <mmsystem.h>
Original file line number Diff line number Diff line change 9393#endif
9494#endif
9595
96- // inline control - redefine to use compiler's heuristics ONLY
97- // it seems "IC" is misused in many places which cause code-bloat
98- // ...and VC7.1 really don't miss opportunities for inline :)
99- #ifdef _EDITOR
100- # define __forceinline inline
101- #endif
102- #define _inline inline
103- #define __inline inline
104- #define IC inline
105- #define ICF __forceinline // !!! this should be used only in critical places found by PROFILER
106- #ifdef _EDITOR
107- # define ICN
108- #else
109- # define ICN __declspec (noinline)
110- #endif
111-
11296#ifndef DEBUG
11397#pragma inline_depth ( 254 )
11498#pragma inline_recursion( on )
You can’t perform that action at this time.
0 commit comments