mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 10:03:45 +01:00
SAPI: Disable unlockable time profiling
This commit is contained in:
parent
bcf38a2ad1
commit
c2d23ff9cc
@ -33,6 +33,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
#define API_FCT(name) registerFunction(L, #name, l_##name,top)
|
||||
#define ASYNC_API_FCT(name) engine.registerFunction(#name, l_##name)
|
||||
|
||||
#define NO_MAP_LOCK_REQUIRED
|
||||
|
||||
/*
|
||||
#if (defined(WIN32) || defined(_WIN32_WCE))
|
||||
#define NO_MAP_LOCK_REQUIRED
|
||||
#else
|
||||
@ -40,5 +43,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
#define NO_MAP_LOCK_REQUIRED \
|
||||
ScopeProfiler nolocktime(g_profiler,"Scriptapi: unlockable time",SPT_ADD)
|
||||
#endif
|
||||
*/
|
||||
|
||||
#endif /* L_INTERNAL_H_ */
|
||||
|
Loading…
Reference in New Issue
Block a user