mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06: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
					
				
					 8 changed files with 24 additions and 25 deletions
				
			
		|  | @ -27,7 +27,7 @@ THE SOFTWARE. | |||
| 
 | ||||
| #include "ShinyManager.h" | ||||
| 
 | ||||
| #ifdef SHINY_IS_COMPILED | ||||
| #if SHINY_IS_COMPILED == TRUE | ||||
| 
 | ||||
| /*---------------------------------------------------------------------------*/ | ||||
| /* public preprocessors */ | ||||
|  | @ -254,7 +254,7 @@ THE SOFTWARE. | |||
| 
 | ||||
| /*---------------------------------------------------------------------------*/ | ||||
| 
 | ||||
| #else /* #if SHINY_IS_COMPILED == TRUE */ | ||||
| #else /* if SHINY_IS_COMPILED == TRUE */ | ||||
| 
 | ||||
| #ifdef __cplusplus | ||||
| extern "C" { | ||||
|  | @ -292,6 +292,6 @@ SHINY_INLINE ShinyData GetEmptyData() { | |||
| #define PROFILE_SET_ENABLED(boolean) | ||||
| #endif | ||||
| 
 | ||||
| #endif /* SHINY_IS_COMPILED */ | ||||
| #endif /* SHINY_IS_COMPILED == TRUE */ | ||||
| 
 | ||||
| #endif /* SHINY_MACROS_H */ | ||||
|  |  | |||
|  | @ -33,7 +33,7 @@ THE SOFTWARE. | |||
| 
 | ||||
| #include <stdio.h> | ||||
| 
 | ||||
| #ifdef SHINY_IS_COMPILED | ||||
| #if SHINY_IS_COMPILED == TRUE | ||||
| 
 | ||||
| #ifdef __cplusplus | ||||
| extern "C" { | ||||
|  |  | |||
|  | @ -28,7 +28,7 @@ THE SOFTWARE. | |||
| #include "ShinyData.h" | ||||
| #include "ShinyTools.h" | ||||
| 
 | ||||
| #ifdef SHINY_IS_COMPILED | ||||
| #if SHINY_IS_COMPILED == TRUE | ||||
| 
 | ||||
| #ifdef __cplusplus | ||||
| extern "C" { | ||||
|  |  | |||
|  | @ -27,7 +27,7 @@ THE SOFTWARE. | |||
| 
 | ||||
| #include "ShinyNode.h" | ||||
| 
 | ||||
| #ifdef SHINY_IS_COMPILED | ||||
| #if SHINY_IS_COMPILED == TRUE | ||||
| 
 | ||||
| #ifdef __cplusplus | ||||
| extern "C" { | ||||
|  |  | |||
|  | @ -28,7 +28,7 @@ THE SOFTWARE. | |||
| #include "ShinyNode.h" | ||||
| #include "ShinyZone.h" | ||||
| 
 | ||||
| #ifdef SHINY_IS_COMPILED | ||||
| #if SHINY_IS_COMPILED == TRUE | ||||
| 
 | ||||
| #ifdef __cplusplus | ||||
| extern "C" { | ||||
|  |  | |||
|  | @ -25,6 +25,20 @@ THE SOFTWARE. | |||
| #ifndef 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 "ShinyVersion.h" | ||||
| 
 | ||||
|  | @ -62,21 +76,6 @@ extern "C" { | |||
| #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 | ||||
|  | @ -87,7 +86,7 @@ extern "C" { | |||
| 
 | ||||
| /*---------------------------------------------------------------------------*/ | ||||
| 
 | ||||
| #ifdef SHINY_IS_COMPILED | ||||
| #if SHINY_IS_COMPILED == TRUE | ||||
| 	struct _ShinyNode; | ||||
| 	struct _ShinyZone; | ||||
| 
 | ||||
|  |  | |||
|  | @ -110,4 +110,4 @@ float ShinyGetTickInvFreq(void) { | |||
| 
 | ||||
| #endif | ||||
| 
 | ||||
| #endif /* SHINY_IS_COMPILED */ | ||||
| #endif /* if SHINY_IS_COMPILED == TRUE */ | ||||
|  |  | |||
|  | @ -28,7 +28,7 @@ THE SOFTWARE. | |||
| #include "ShinyData.h" | ||||
| #include <memory.h> | ||||
| 
 | ||||
| #ifdef SHINY_IS_COMPILED | ||||
| #if SHINY_IS_COMPILED == TRUE | ||||
| 
 | ||||
| #ifdef __cplusplus | ||||
| extern "C" { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 bubnikv
						bubnikv