diff options
Diffstat (limited to 'power-common.h')
-rw-r--r-- | power-common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/power-common.h b/power-common.h index c989e97..9124aac 100644 --- a/power-common.h +++ b/power-common.h @@ -51,6 +51,7 @@ void power_hint(power_hint_t hint, void* data); void set_interactive(int on); #define ARRAY_SIZE(x) (sizeof((x)) / sizeof((x)[0])) +#define CHECK_HANDLE(x) ((x) > 0) #define UNUSED(x) UNUSED_##x __attribute__((__unused__)) #ifdef __cplusplus |