diff options
author | drepper <drepper@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-08-17 12:32:45 +0000 |
---|---|---|
committer | drepper <drepper@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-08-17 12:32:45 +0000 |
commit | ff203f08a0eb801f9fd3ce6f0ea086df47135fab (patch) | |
tree | 2215e17f7b1b090c33aabc6f42c5292040cb6846 /libio | |
parent | 74d9f5ec90b0b996272d45742ded1367e52abf70 (diff) | |
download | gcc-ff203f08a0eb801f9fd3ce6f0ea086df47135fab.tar.gz |
Define __PMT if not already defined.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21789 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libio')
-rw-r--r-- | libio/strfile.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/libio/strfile.h b/libio/strfile.h index 5a33dca22d9..85e83a95d07 100644 --- a/libio/strfile.h +++ b/libio/strfile.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1993, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1993, 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU IO Library. This library is free software; you can redistribute it and/or @@ -28,6 +28,14 @@ Merge into libio.h ? #endif +#ifndef __PMT +# ifdef __STDC__ +# define __PMT(p) p +# else +# define __PMT(p) () +# endif +#endif /*!__P*/ + typedef void *(*_IO_alloc_type) __PMT ((_IO_size_t)); typedef void (*_IO_free_type) __PMT ((void*)); |