diff options
author | Frank Ch. Eigler <fche@redhat.com> | 2000-02-19 00:44:46 +0000 |
---|---|---|
committer | Frank Ch. Eigler <fche@redhat.com> | 2000-02-19 00:44:46 +0000 |
commit | ff4e7bb239e88a67baed668fd48e25236fee6b93 (patch) | |
tree | e8d8a6d0ec44fd4401ca9c714ef870aeecc59e4e /mmalloc/mvalloc.c | |
parent | 2dd67478f59b396f1179fd5a25b5256cd82757c5 (diff) | |
download | gdb-ff4e7bb239e88a67baed668fd48e25236fee6b93.zip gdb-ff4e7bb239e88a67baed668fd48e25236fee6b93.tar.gz gdb-ff4e7bb239e88a67baed668fd48e25236fee6b93.tar.bz2 |
* build fix for cygwin
2000-02-18 Frank Ch. Eigler <fche@redhat.com>
From Jason "crash" Molenda <jsm@cygnus.com>:
* configure.in: Check for getpagesize declaration.
* mvmalloc.c, mmap-sup.c: Conditionally declare getpagesize.
* configure: Regenerated.
Diffstat (limited to 'mmalloc/mvalloc.c')
-rw-r--r-- | mmalloc/mvalloc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mmalloc/mvalloc.c b/mmalloc/mvalloc.c index 7acef67..e44942f 100644 --- a/mmalloc/mvalloc.c +++ b/mmalloc/mvalloc.c @@ -24,7 +24,9 @@ Boston, MA 02111-1307, USA. */ it out. */ static size_t cache_pagesize; +#if NEED_DECLARATION_GETPAGESIZE extern int getpagesize PARAMS ((void)); +#endif PTR mvalloc (md, size) |