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
/
swap.c
diff --git
a/components/swap.c
b/components/swap.c
index
a030f5f
..
0aad074
100644
(file)
--- a/
components/swap.c
+++ b/
components/swap.c
@@
-1,5
+1,5
@@
/* See LICENSE file for copyright and license details. */
/* See LICENSE file for copyright and license details. */
-#if
def __linux__
+#if
defined(__linux__)
#include <err.h>
#include <stdio.h>
#include <string.h>
#include <err.h>
#include <stdio.h>
#include <string.h>