mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-12 04:49:01 +08:00
Fix of compilation on Linux. Disable hopefully finally the Shiny profiler.
This commit is contained in:
parent
52dc18e350
commit
6f4a04c2d7
@ -32,6 +32,8 @@ THE SOFTWARE.
|
|||||||
*/
|
*/
|
||||||
#if defined(SLIC3R_PROFILE) && defined(WIN32)
|
#if defined(SLIC3R_PROFILE) && defined(WIN32)
|
||||||
#define SHINY_IS_COMPILED TRUE
|
#define SHINY_IS_COMPILED TRUE
|
||||||
|
#else
|
||||||
|
#define SHINY_IS_COMPILED FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define SHINY_STATIC_LINK TRUE
|
#define SHINY_STATIC_LINK TRUE
|
||||||
|
@ -100,7 +100,7 @@ void ShinyGetTicks(shinytick_t *p) {
|
|||||||
*p = time.tv_sec * 1000000 + time.tv_usec;
|
*p = time.tv_sec * 1000000 + time.tv_usec;
|
||||||
}
|
}
|
||||||
|
|
||||||
const shinytick_t& ShinyGetTickFreq(void) {
|
shinytick_t ShinyGetTickFreq(void) {
|
||||||
return 1000000;
|
return 1000000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user