X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fgetpagesize.h;h=6a51f0423fba5ec87f48187f90b6c720c8b444d4;hb=a6f8ec6515e145df9c918fb2e932f1c22702d852;hp=b09b2c24b1daa0c81317882933549679f395008d;hpb=d76a6493392c315ba9da4a262efaa430b1a72476;p=gnulib.git diff --git a/lib/getpagesize.h b/lib/getpagesize.h index b09b2c24b..6a51f0423 100644 --- a/lib/getpagesize.h +++ b/lib/getpagesize.h @@ -1,10 +1,10 @@ /* Emulate getpagesize on systems that lack it. Copyright (C) 1999, 2000, 2004, 2005 Free Software Foundation, Inc. - This program is free software; you can redistribute it and/or modify + This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2, or (at your option) - any later version. + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -12,9 +12,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, - USA. */ + along with this program. If not, see . */ #ifndef HAVE_GETPAGESIZE @@ -42,6 +40,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 # ifdef EXEC_PAGESIZE