From 60a8be1bc55fed240e185d12b5d7fe603018a8b9 Mon Sep 17 00:00:00 2001 From: szaka Date: Thu, 25 Oct 2007 22:26:02 +0000 Subject: [PATCH] check properly for the linux and __uClinux__ macros --- src/ntfs-3g.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ntfs-3g.c b/src/ntfs-3g.c index 38403a45..9861378b 100644 --- a/src/ntfs-3g.c +++ b/src/ntfs-3g.c @@ -2024,7 +2024,7 @@ static int parse_options(int argc, char *argv[]) return 0; } -#ifdef linux || __uClinux__ +#if defined(linux) || defined(__uClinux__) static const char *dev_fuse_msg = "HINT: You should be root, or make ntfs-3g setuid root, or load the FUSE\n" @@ -2231,7 +2231,7 @@ int main(int argc, char *argv[]) goto err_out; } -#ifdef linux || __uClinux__ +#if defined(linux) || defined(__uClinux__) fstype = get_fuse_fstype(); if (fstype == FSTYPE_NONE || fstype == FSTYPE_UNKNOWN) fstype = load_fuse_module(); @@ -2302,7 +2302,7 @@ int main(int argc, char *argv[]) goto err_out; } -#ifdef linux || __uClinux__ +#if defined(linux) || defined(__uClinux__) if (S_ISBLK(sbuf.st_mode) && (fstype == FSTYPE_FUSE)) ntfs_log_info(fuse26_kmod_msg); #endif