diff --git a/Marlin/Configuration_adv.h b/Marlin/Configuration_adv.h
index 51a6b4508b4d5b224f3a30c0592fbc0469938623..f5a561b4c24f616764ab68d0c4f934b3e3703875 100644
--- a/Marlin/Configuration_adv.h
+++ b/Marlin/Configuration_adv.h
@@ -1573,7 +1573,7 @@
 
   // Add additional compensation depending on hotend temperature
   // Note: this values cannot be calibrated and have to be set manually
-  #ifdef PROBE_TEMP_COMPENSATION
+  #if ENABLED(PROBE_TEMP_COMPENSATION)
     // Max temperature that can be reached by heated bed.
     // This is required only for the calibration process.
     #define PTC_MAX_BED_TEMP 110