diff options
Diffstat (limited to 'darwin/Platform.h')
-rw-r--r-- | darwin/Platform.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/darwin/Platform.h b/darwin/Platform.h index 0a873bf5..29ef289d 100644 --- a/darwin/Platform.h +++ b/darwin/Platform.h @@ -16,6 +16,10 @@ in the source distribution for its full text. #include "BatteryMeter.h" #include "DarwinProcess.h" +#ifndef CLAMP +#define CLAMP(x,low,high) (((x)>(high))?(high):(((x)<(low))?(low):(x))) +#endif + extern ProcessField Platform_defaultFields[]; extern SignalItem Platform_signals[]; |