Skip to content
This repository was archived by the owner on Apr 10, 2021. It is now read-only.

Commit c28a1e0

Browse files
committed
Add REGPARM3 to hStartTiming on Linux
1 parent f94838b commit c28a1e0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

byond-extools/src/core/hooking.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ bool hTopicFloodCheck(int socket_id)
7575
}
7676

7777
std::recursive_mutex timing_mutex;
78+
79+
#ifndef _WIN32
80+
REGPARM3
81+
#endif
7882
void hStartTiming(SuspendedProc* sp)
7983
{
8084
std::lock_guard<std::recursive_mutex> lk(timing_mutex);

0 commit comments

Comments
 (0)