summaryrefslogtreecommitdiff
path: root/lib/getpagesize.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-12-30 23:27:20 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2006-12-30 23:27:20 +0000
commit4ce19625133d8fe4e18f09af292a7a699a2e1e34 (patch)
tree6fa99b4f09c60164c4cade7d53822ad71af6630a /lib/getpagesize.h
parenta50334e5ace0f19d613a4778e452ccc2c5024ddb (diff)
downloadgnulib-4ce19625133d8fe4e18f09af292a7a699a2e1e34.tar.gz
* lib/getpagesize.h (getpagesize) [defined __amigaos4__]:
Define. Trivial patch from Henning Nielsen Lund, originally sent to bug-grep@gnu.org today.
Diffstat (limited to 'lib/getpagesize.h')
-rw-r--r--lib/getpagesize.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/getpagesize.h b/lib/getpagesize.h
index b09b2c24b1..8863336666 100644
--- a/lib/getpagesize.h
+++ b/lib/getpagesize.h
@@ -42,6 +42,11 @@
# endif
#endif
+/* This is for AmigaOS4.0. */
+#if !defined getpagesize && defined __amigaos4__
+# define getpagesize() 2048
+#endif
+
#if !defined getpagesize && HAVE_SYS_PARAM_H
# include <sys/param.h>
# ifdef EXEC_PAGESIZE