aboutsummaryrefslogtreecommitdiff
path: root/libio/strfile.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gcc.gnu.org>1998-08-17 12:32:45 +0000
committerUlrich Drepper <drepper@gcc.gnu.org>1998-08-17 12:32:45 +0000
commitacd1ba4c76620f0c052c15d53f46e7e696be3d2b (patch)
tree2215e17f7b1b090c33aabc6f42c5292040cb6846 /libio/strfile.h
parentef1090573ad7a763ba57b083dade492aea527816 (diff)
downloadgcc-acd1ba4c76620f0c052c15d53f46e7e696be3d2b.zip
gcc-acd1ba4c76620f0c052c15d53f46e7e696be3d2b.tar.gz
gcc-acd1ba4c76620f0c052c15d53f46e7e696be3d2b.tar.bz2
Define __PMT if not already defined.
From-SVN: r21789
Diffstat (limited to 'libio/strfile.h')
-rw-r--r--libio/strfile.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/libio/strfile.h b/libio/strfile.h
index 5a33dca..85e83a9 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*));