|
|
|
@ -298,3 +298,18 @@ Index: configure
|
|
|
|
|
then
|
|
|
|
|
echo Generating $makefile
|
|
|
|
|
realconf=`readlink -f $configure`
|
|
|
|
|
Index: Source/PerformanceProfilerDll/PerformanceProfiler.cpp
|
|
|
|
|
--- Source/PerformanceProfilerDll/PerformanceProfiler.cpp.orig 2017-01-01 10:58:55.000000000 +0100
|
|
|
|
|
+++ Source/PerformanceProfilerDll/PerformanceProfiler.cpp 2017-01-01 11:10:31.383503000 +0100
|
|
|
|
|
@@ -381,8 +381,10 @@
|
|
|
|
|
{
|
|
|
|
|
#ifdef _WIN32
|
|
|
|
|
return (unsigned int)GetCurrentThreadId();
|
|
|
|
|
-#else
|
|
|
|
|
+#elif defined(SYS_gettid)
|
|
|
|
|
return (unsigned int)syscall(SYS_gettid);
|
|
|
|
|
+#else
|
|
|
|
|
+ return (unsigned int)0;
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|