--- vixie-cron-4.1/entry.c.ppc 2005-11-04 22:27:03.000000000 +0100 +++ vixie-cron-4.1/entry.c 2005-11-04 22:27:19.000000000 +0100 @@ -320,7 +320,7 @@ e->envp = tenvp; } else log_it("CRON", getpid(), "error", "can't set LOGNAME"); -#if defined(BSD) || defined(__linux) +#if defined(BSD) || defined(__linux__) if (glue_strings(envstr, sizeof envstr, "USER", pw->pw_name, '=')) { if ((tenvp = env_set(e->envp, envstr)) == NULL) { --- vixie-cron-4.1/externs.h.ppc 2005-11-04 22:27:09.000000000 +0100 +++ vixie-cron-4.1/externs.h 2005-11-04 22:27:19.000000000 +0100 @@ -72,12 +72,12 @@ #endif #define TZONE(tm) tzname[(tm).tm_isdst] -#if (defined(BSD)) && (BSD >= 198606) || defined(__linux) +#if (defined(BSD)) && (BSD >= 198606) || defined(__linux__) # define HAVE_FCHOWN # define HAVE_FCHMOD #endif -#if (defined(BSD)) && (BSD >= 199103) || defined(__linux) +#if (defined(BSD)) && (BSD >= 199103) || defined(__linux__) # define HAVE_SAVED_UIDS #endif --- vixie-cron-4.1/pathnames.h.ppc 2005-11-04 22:27:14.000000000 +0100 +++ vixie-cron-4.1/pathnames.h 2005-11-04 22:27:19.000000000 +0100 @@ -26,7 +26,7 @@ #ifndef _PATHNAMES_H_ #define _PATHNAMES_H_ -#if (defined(BSD)) && (BSD >= 199103) || defined(__linux) || defined(AIX) +#if (defined(BSD)) && (BSD >= 199103) || defined(__linux__) || defined(AIX) # include <paths.h> #endif /*BSD*/