mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-29 07:33:42 +00:00
keep noinline only for broken vs versions
This commit is contained in:
parent
f87f14b432
commit
b7db2a12d4
1 changed files with 2 additions and 0 deletions
|
@ -712,7 +712,9 @@ public:
|
||||||
void RestorePreviousObjective(void);
|
void RestorePreviousObjective(void);
|
||||||
void SetIdle(void);
|
void SetIdle(void);
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
|
#if _MSC_VER >= 1920 && _MSC_VER < 1929
|
||||||
__declspec(noinline) // workaround for a compiler bug, hooray MS :P
|
__declspec(noinline) // workaround for a compiler bug, hooray MS :P
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
void SetObjective(eObjective, void*);
|
void SetObjective(eObjective, void*);
|
||||||
void SetObjective(eObjective);
|
void SetObjective(eObjective);
|
||||||
|
|
Loading…
Reference in a new issue