changeset 16599:ae726fd5403b

Indent for readability.
author David J. MacKenzie <djm@gnu.org>
date Tue, 19 Nov 1996 18:34:08 +0000
parents 4b0b6719bbd2
children 4f9e6148ce6a
files src/getpagesize.h
diffstat 1 files changed, 30 insertions(+), 32 deletions(-) [+]
line wrap: on
line diff
--- a/src/getpagesize.h	Tue Nov 19 07:42:09 1996 +0000
+++ b/src/getpagesize.h	Tue Nov 19 18:34:08 1996 +0000
@@ -2,38 +2,36 @@
 
 #ifndef HAVE_GETPAGESIZE
 
-#ifdef VMS
-#define getpagesize() 512
-#endif
+# ifdef VMS
+#  define getpagesize() 512
+# endif
 
-#ifdef HAVE_UNISTD_H
-#include <unistd.h>
-#endif
-
-#ifdef _SC_PAGESIZE
-#define getpagesize() sysconf(_SC_PAGESIZE)
-#else
-
-#include <sys/param.h>
+# ifdef HAVE_UNISTD_H
+#  include <unistd.h>
+# endif
 
-#ifdef EXEC_PAGESIZE
-#define getpagesize() EXEC_PAGESIZE
-#else
-#ifdef NBPG
-#define getpagesize() NBPG * CLSIZE
-#ifndef CLSIZE
-#define CLSIZE 1
-#endif /* no CLSIZE */
-#else /* no NBPG */
-#ifdef NBPC
-#define getpagesize() NBPC
-#else /* no NBPC */
-#ifdef PAGESIZE
-#define getpagesize() PAGESIZE
-#endif
-#endif /* NBPC */
-#endif /* no NBPG */
-#endif /* no EXEC_PAGESIZE */
-#endif /* no _SC_PAGESIZE */
+# ifdef _SC_PAGESIZE
+#  define getpagesize() sysconf(_SC_PAGESIZE)
+# else
+#  include <sys/param.h>
+#  ifdef EXEC_PAGESIZE
+#   define getpagesize() EXEC_PAGESIZE
+#  else /* no EXEC_PAGESIZE */
+#   ifdef NBPG
+#    define getpagesize() NBPG * CLSIZE
+#    ifndef CLSIZE
+#     define CLSIZE 1
+#    endif /* no CLSIZE */
+#   else /* no NBPG */
+#    ifdef NBPC
+#     define getpagesize() NBPC
+#    else /* no NBPC */
+#     ifdef PAGESIZE
+#      define getpagesize() PAGESIZE
+#     endif /* PAGESIZE */
+#    endif /* no NBPC */
+#   endif /* no NBPG */
+#  endif /* no EXEC_PAGESIZE */
+# endif /* no _SC_PAGESIZE */
 
-#endif /* not HAVE_GETPAGESIZE */
+#endif /* no HAVE_GETPAGESIZE */