From ae5baac932af877cb18df6853d45f033ed9b270f Mon Sep 17 00:00:00 2001 From: Aurélien Aptel Date: Mon, 30 Aug 2010 13:04:19 +0200 Subject: use predefined OS macro instead of uname. --- st.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'st.c') diff --git a/st.c b/st.c index af3ec6d..f42797f 100644 --- a/st.c +++ b/st.c @@ -20,11 +20,11 @@ #include #include -#if defined(LINUX) +#if defined(__linux) #include -#elif defined(OPENBSD) || defined(NETBSD) +#elif defined(__OpenBSD__) || defined(__NetBSD__) #include -#elif defined(FREEBSD) +#elif defined(__FreeBSD__) || defined(__DragonFly__) #include #endif -- cgit v1.2.3-13-gbd6f