mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-05 02:38:54 -04:00
16 lines
432 B
C++
16 lines
432 B
C++
$NetBSD: patch-src_tinygettext_TinyGetText.cpp,v 1.1 2012/12/24 06:22:14 dholland Exp $
|
|
|
|
Remove any getchar macro before declaring a getchar member function.
|
|
Required for building on DragonFly.
|
|
|
|
--- src/tinygettext/TinyGetText.cpp~ 2009-01-25 20:20:41.000000000 +0000
|
|
+++ src/tinygettext/TinyGetText.cpp
|
|
@@ -680,6 +680,7 @@ public:
|
|
}
|
|
}
|
|
|
|
+#undef getchar
|
|
inline int getchar(std::istream& in)
|
|
{
|
|
int c = in.get();
|