Skip to content
Snippets Groups Projects
Commit c2d23ff9 authored by kwolekr's avatar kwolekr
Browse files

SAPI: Disable unlockable time profiling

parent bcf38a2a
No related branches found
No related tags found
No related merge requests found
...@@ -33,12 +33,16 @@ with this program; if not, write to the Free Software Foundation, Inc., ...@@ -33,12 +33,16 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#define API_FCT(name) registerFunction(L, #name, l_##name,top) #define API_FCT(name) registerFunction(L, #name, l_##name,top)
#define ASYNC_API_FCT(name) engine.registerFunction(#name, l_##name) #define ASYNC_API_FCT(name) engine.registerFunction(#name, l_##name)
#if (defined(WIN32) || defined(_WIN32_WCE))
#define NO_MAP_LOCK_REQUIRED #define NO_MAP_LOCK_REQUIRED
/*
#if (defined(WIN32) || defined(_WIN32_WCE))
#define NO_MAP_LOCK_REQUIRED
#else #else
#include "profiler.h" #include "profiler.h"
#define NO_MAP_LOCK_REQUIRED \ #define NO_MAP_LOCK_REQUIRED \
ScopeProfiler nolocktime(g_profiler,"Scriptapi: unlockable time",SPT_ADD) ScopeProfiler nolocktime(g_profiler,"Scriptapi: unlockable time",SPT_ADD)
#endif #endif
*/
#endif /* L_INTERNAL_H_ */ #endif /* L_INTERNAL_H_ */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment