From 716c883737b76757e0f3bcddeacc1e276dfff13b Mon Sep 17 00:00:00 2001 From: TechGeekNZ Date: Fri, 3 Jul 2020 09:36:10 +1200 Subject: Fix: Globally apply preprocessor directive coding style Global; except for the 32-bit SSE blitter, which has some #DEFINEs in not-very-nice places. --- src/os/os2/os2.cpp | 4 ++-- src/os/unix/unix.cpp | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/os') diff --git a/src/os/os2/os2.cpp b/src/os/os2/os2.cpp index a44c10a3b..f1128b0c6 100644 --- a/src/os/os2/os2.cpp +++ b/src/os/os2/os2.cpp @@ -26,7 +26,7 @@ #include #include #ifndef __INNOTEK_LIBC__ - #include +# include #endif #include "../../safeguards.h" @@ -36,7 +36,7 @@ #include #ifndef __INNOTEK_LIBC__ - #include +# include #endif bool FiosIsRoot(const char *file) diff --git a/src/os/unix/unix.cpp b/src/os/unix/unix.cpp index e4e1d687c..2bcd6151a 100644 --- a/src/os/unix/unix.cpp +++ b/src/os/unix/unix.cpp @@ -29,13 +29,13 @@ #endif #ifdef __APPLE__ - #include +# include #elif (defined(_POSIX_VERSION) && _POSIX_VERSION >= 200112L) || defined(__GLIBC__) - #define HAS_STATVFS +# define HAS_STATVFS #endif #if defined(OPENBSD) || defined(__NetBSD__) || defined(__FreeBSD__) - #define HAS_SYSCTL +# define HAS_SYSCTL #endif #ifdef HAS_STATVFS -- cgit v1.2.3-54-g00ecf