summaryrefslogtreecommitdiffstats
path: root/source/t/tetex/tetex.cpascal.getline.posix.2008.diff
blob: 879adc44101a51757af83d2b492d437a338f38f0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- ./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);