From acd1ba4c76620f0c052c15d53f46e7e696be3d2b Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 17 Aug 1998 12:32:45 +0000 Subject: [PATCH] Define __PMT if not already defined. From-SVN: r21789 --- libio/strfile.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/libio/strfile.h b/libio/strfile.h index 5a33dca22d99..85e83a95d073 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*));