diff options
Diffstat (limited to 'src/include/gauger.h')
-rw-r--r-- | src/include/gauger.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/include/gauger.h b/src/include/gauger.h index eb2f6d109..b45b2b83f 100644 --- a/src/include/gauger.h +++ b/src/include/gauger.h | |||
@@ -11,6 +11,8 @@ | |||
11 | #ifndef __GAUGER_H__ | 11 | #ifndef __GAUGER_H__ |
12 | #define __GAUGER_H__ | 12 | #define __GAUGER_H__ |
13 | 13 | ||
14 | #ifndef WINDOWS | ||
15 | |||
14 | #include <unistd.h> | 16 | #include <unistd.h> |
15 | #include <stdio.h> | 17 | #include <stdio.h> |
16 | #include <sys/wait.h> | 18 | #include <sys/wait.h> |
@@ -75,4 +77,11 @@ | |||
75 | }\ | 77 | }\ |
76 | } | 78 | } |
77 | 79 | ||
80 | #else | ||
81 | |||
82 | #define GAUGER_ID(category, counter, value, unit, id) {} | ||
83 | #define GAUGER(category, counter, value, unit) {} | ||
84 | |||
85 | #endif // WINDOWS | ||
86 | |||
78 | #endif | 87 | #endif |