Xinqi Bao's Git
projects
/
slstatus.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
| inline |
side by side
More robust preprocessor switches
[slstatus.git]
/
components
/
temperature.c
diff --git
a/components/temperature.c
b/components/temperature.c
index
6376e30
..
4a447e5
100644
(file)
--- a/
components/temperature.c
+++ b/
components/temperature.c
@@
-1,5
+1,5
@@
/* See LICENSE file for copyright and license details. */
-#if
def __linux__
+#if
defined(__linux__)
#include <stdio.h>
#include "../util.h"