1
0
Fork 0
mirror of git://slackware.nl/current.git synced 2025-02-15 08:50:09 +01:00
slackware-current/source/t/tetex/tetex.cpascal.getline.posix.2008.diff

18 lines
599 B
Diff
Raw Normal View History

--- ./texk/web2c/cpascal.h.orig 2004-08-28 15:49:59.000000000 -0500
+++ ./texk/web2c/cpascal.h 2010-02-19 11:27:04.000000000 -0600
@@ -241,6 +241,14 @@
#define getname vms_getname
#endif
+/* Apparently POSIX 2008 has getline and glibc 2.9.90 exports it.
+ tangle, weave, et al. use that symbol; try to define it away so
+ something that a standard won't usurp. */
+#ifdef getline
+#undef getline
+#endif
+#define getline web2c_getline
+
/* Declarations for the routines we provide ourselves in lib/. */
extern string basenamechangesuffix P3H(const_string,const_string,const_string);