diff options
Diffstat (limited to 'src/gos/gos_x_threads_cortexm47fp.h')
-rw-r--r-- | src/gos/gos_x_threads_cortexm47fp.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gos/gos_x_threads_cortexm47fp.h b/src/gos/gos_x_threads_cortexm47fp.h index f5eeff80..a85615c6 100644 --- a/src/gos/gos_x_threads_cortexm47fp.h +++ b/src/gos/gos_x_threads_cortexm47fp.h @@ -92,5 +92,9 @@ } #else - #warning "GOS: Threads: You have specified a specific CPU but your compiler is not supported. Defaulting to CLIB switching" + #if GFX_COMPILER_WARNING_TYPE == GFX_COMPILER_WARNING_DIRECT + #warning "GOS Threads: You have specified a specific CPU but your compiler is not supported. Defaulting to CLIB switching" + #elif GFX_COMPILER_WARNING_TYPE == GFX_COMPILER_WARNING_MACRO + COMPILER_WARNING("GOS Threads: You have specified a specific CPU but your compiler is not supported. Defaulting to CLIB switching") + #endif #endif |