summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-09-28 18:25:55 +0000
committerJim Meyering <jim@meyering.net>1996-09-28 18:25:55 +0000
commit3d7fc7a89ff87ab78e64d091f9d1d683a3ed39fc (patch)
tree5448144c1f6d5619f2ec7890af07e573cf95da66
parente341d2295bf5cf04f017a841151c7210f59d74be (diff)
downloadgnulib-3d7fc7a89ff87ab78e64d091f9d1d683a3ed39fc.tar.gz
.
-rw-r--r--lib/makepath.c42
1 files changed, 21 insertions, 21 deletions
diff --git a/lib/makepath.c b/lib/makepath.c
index d2b2c43c52..87d7eb1369 100644
--- a/lib/makepath.c
+++ b/lib/makepath.c
@@ -17,52 +17,52 @@
/* Written by David MacKenzie <djm@gnu.ai.mit.edu> and Jim Meyering. */
-#ifdef HAVE_CONFIG_H
-#include <config.h>
+#if HAVE_CONFIG_H
+# include <config.h>
#endif
-#ifdef __GNUC__
-#define alloca __builtin_alloca
+#if __GNUC__
+# define alloca __builtin_alloca
#else
-#ifdef HAVE_ALLOCA_H
-#include <alloca.h>
-#else
-#ifdef _AIX
+# if HAVE_ALLOCA_H
+# include <alloca.h>
+# else
+# ifdef _AIX
#pragma alloca
-#else
+# else
char *alloca ();
-#endif
-#endif
+# endif
+# endif
#endif
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
-#ifdef HAVE_UNISTD_H
-#include <unistd.h>
+#if HAVE_UNISTD_H
+# include <unistd.h>
#endif
-#ifdef STAT_MACROS_BROKEN
-#undef S_ISDIR
+#if STAT_MACROS_BROKEN
+# undef S_ISDIR
#endif /* STAT_MACROS_BROKEN. */
#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 <stdlib.h>
+#if STDC_HEADERS
+# include <stdlib.h>
#endif
-#ifdef HAVE_ERRNO_H
-#include <errno.h>
+#if HAVE_ERRNO_H
+# include <errno.h>
#endif
#ifndef errno
extern int errno;
#endif
-#ifdef HAVE_STRING_H
+#if HAVE_STRING_H
# include <string.h>
#else
# include <strings.h>