X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fmakepath.c;h=028e172af1253811b8050f1e31db5d3eb8a075b1;hb=3b9c7bc21c762948ae4f0d273b0797f97276ed70;hp=d2b2c43c525ef07f7f7784e536e1e46281ce0eac;hpb=6d8337bfc808cddc275899c03482eceb6aff8547;p=gnulib.git diff --git a/lib/makepath.c b/lib/makepath.c index d2b2c43c5..028e172af 100644 --- a/lib/makepath.c +++ b/lib/makepath.c @@ -17,52 +17,52 @@ /* Written by David MacKenzie and Jim Meyering. */ -#ifdef HAVE_CONFIG_H -#include +#if HAVE_CONFIG_H +# include #endif -#ifdef __GNUC__ -#define alloca __builtin_alloca +#if __GNUC__ +# define alloca __builtin_alloca #else -#ifdef HAVE_ALLOCA_H -#include -#else -#ifdef _AIX +# if HAVE_ALLOCA_H +# include +# else +# ifdef _AIX #pragma alloca -#else +# else char *alloca (); -#endif -#endif +# endif +# endif #endif #include #include #include -#ifdef HAVE_UNISTD_H -#include +#if HAVE_UNISTD_H +# include #endif -#ifdef STAT_MACROS_BROKEN -#undef S_ISDIR -#endif /* STAT_MACROS_BROKEN. */ +#if STAT_MACROS_BROKEN +# undef S_ISDIR +#endif #if !defined(S_ISDIR) && defined(S_IFDIR) -#define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) +# define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) #endif -#ifdef STDC_HEADERS -#include +#if STDC_HEADERS +# include #endif -#ifdef HAVE_ERRNO_H -#include +#if HAVE_ERRNO_H +# include #endif #ifndef errno extern int errno; #endif -#ifdef HAVE_STRING_H +#if HAVE_STRING_H # include #else # include