mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-14 19:35:55 +08:00
Hopefully fixed compilation of the Shiny profiler on Linux,
where the Shiny profiler shall be disabled.
This commit is contained in:
parent
19312d0a1a
commit
52dc18e350
@ -27,7 +27,7 @@ THE SOFTWARE.
|
|||||||
|
|
||||||
#include "ShinyManager.h"
|
#include "ShinyManager.h"
|
||||||
|
|
||||||
#ifdef SHINY_IS_COMPILED
|
#if SHINY_IS_COMPILED == TRUE
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
/* public preprocessors */
|
/* public preprocessors */
|
||||||
@ -254,7 +254,7 @@ THE SOFTWARE.
|
|||||||
|
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#else /* #if SHINY_IS_COMPILED == TRUE */
|
#else /* if SHINY_IS_COMPILED == TRUE */
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
@ -292,6 +292,6 @@ SHINY_INLINE ShinyData GetEmptyData() {
|
|||||||
#define PROFILE_SET_ENABLED(boolean)
|
#define PROFILE_SET_ENABLED(boolean)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* SHINY_IS_COMPILED */
|
#endif /* SHINY_IS_COMPILED == TRUE */
|
||||||
|
|
||||||
#endif /* SHINY_MACROS_H */
|
#endif /* SHINY_MACROS_H */
|
||||||
|
@ -33,7 +33,7 @@ THE SOFTWARE.
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#ifdef SHINY_IS_COMPILED
|
#if SHINY_IS_COMPILED == TRUE
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
@ -28,7 +28,7 @@ THE SOFTWARE.
|
|||||||
#include "ShinyData.h"
|
#include "ShinyData.h"
|
||||||
#include "ShinyTools.h"
|
#include "ShinyTools.h"
|
||||||
|
|
||||||
#ifdef SHINY_IS_COMPILED
|
#if SHINY_IS_COMPILED == TRUE
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
@ -27,7 +27,7 @@ THE SOFTWARE.
|
|||||||
|
|
||||||
#include "ShinyNode.h"
|
#include "ShinyNode.h"
|
||||||
|
|
||||||
#ifdef SHINY_IS_COMPILED
|
#if SHINY_IS_COMPILED == TRUE
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
@ -28,7 +28,7 @@ THE SOFTWARE.
|
|||||||
#include "ShinyNode.h"
|
#include "ShinyNode.h"
|
||||||
#include "ShinyZone.h"
|
#include "ShinyZone.h"
|
||||||
|
|
||||||
#ifdef SHINY_IS_COMPILED
|
#if SHINY_IS_COMPILED == TRUE
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
@ -25,6 +25,20 @@ THE SOFTWARE.
|
|||||||
#ifndef SHINY_PREREQS_H
|
#ifndef SHINY_PREREQS_H
|
||||||
#define SHINY_PREREQS_H
|
#define SHINY_PREREQS_H
|
||||||
|
|
||||||
|
/*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
#ifndef FALSE
|
||||||
|
#define FALSE 0x0
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef TRUE
|
||||||
|
#define TRUE 0x1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef NULL
|
||||||
|
#define NULL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "ShinyConfig.h"
|
#include "ShinyConfig.h"
|
||||||
#include "ShinyVersion.h"
|
#include "ShinyVersion.h"
|
||||||
|
|
||||||
@ -62,21 +76,6 @@ extern "C" {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------*/
|
|
||||||
|
|
||||||
#ifndef FALSE
|
|
||||||
#define FALSE 0x0
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef TRUE
|
|
||||||
#define TRUE 0x1
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef NULL
|
|
||||||
#define NULL 0
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#if SHINY_COMPILER == SHINY_COMPILER_GNUC
|
#if SHINY_COMPILER == SHINY_COMPILER_GNUC
|
||||||
@ -87,7 +86,7 @@ extern "C" {
|
|||||||
|
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#ifdef SHINY_IS_COMPILED
|
#if SHINY_IS_COMPILED == TRUE
|
||||||
struct _ShinyNode;
|
struct _ShinyNode;
|
||||||
struct _ShinyZone;
|
struct _ShinyZone;
|
||||||
|
|
||||||
|
@ -110,4 +110,4 @@ float ShinyGetTickInvFreq(void) {
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* SHINY_IS_COMPILED */
|
#endif /* if SHINY_IS_COMPILED == TRUE */
|
||||||
|
@ -28,7 +28,7 @@ THE SOFTWARE.
|
|||||||
#include "ShinyData.h"
|
#include "ShinyData.h"
|
||||||
#include <memory.h>
|
#include <memory.h>
|
||||||
|
|
||||||
#ifdef SHINY_IS_COMPILED
|
#if SHINY_IS_COMPILED == TRUE
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user