$NetBSD: patch-aa,v 1.3 2004/11/17 17:42:05 minskim Exp $

--- include/id3/id3lib_strings.h.orig	2003-03-01 18:23:00.000000000 -0600
+++ include/id3/id3lib_strings.h
@@ -117,7 +117,8 @@ namespace std
       { return eq_int_type(__c, eof()) ? int_type(0) : __c; }
     };
 
-#ifndef _GLIBCPP_USE_WCHAR_T
+/* gcc-3.4 defines _GLIBCXX_USE_WCHAR_T instead of _GLIBCPP_USE_WCHAR_T */
+#if !defined(_GLIBCPP_USE_WCHAR_T) && !defined(_GLIBCXX_USE_WCHAR_T)
 #if (defined(ID3_NEED_WCHAR_TEMPLATE))
    template<>
      struct char_traits<wchar_t>
