On Wed, 23 Mar 2011, Carlos R. Mafra wrote:

 > I don't have gcc46 here on openSUSE 11.4 but I got this with gcc45 and
 > your patch applied:

d'oh, cocked up the macros in there. what happens if you apply this 
atop of the previous one (the diff is two underscores)?

diff --git a/util/wmmenugen.c b/util/wmmenugen.c
index b5417cd..15b035f 100644
--- a/util/wmmenugen.c
+++ b/util/wmmenugen.c
@@ -18,7 +18,7 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#if (_GLIBC__ || __FreeBSD__) && \
+#if (__GLIBC__ || __FreeBSD__) && \
     (!defined(_XOPEN_SOURCE) || _XOPEN_SOURCE - 0 < 600)
 #undef _XOPEN_SOURCE
 #define _XOPEN_SOURCE 600
diff --git a/util/wmmenugen_parse_wmconfig.c 
b/util/wmmenugen_parse_wmconfig.c
index 59672f4..6ef0e55 100644
--- a/util/wmmenugen_parse_wmconfig.c
+++ b/util/wmmenugen_parse_wmconfig.c
@@ -20,7 +20,7 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#if (_GLIBC__ || __FreeBSD__) && \
+#if (__GLIBC__ || __FreeBSD__) && \
     (!defined(_XOPEN_SOURCE) || _XOPEN_SOURCE - 0 < 600)
 #undef _XOPEN_SOURCE
 #define _XOPEN_SOURCE 600


-- 
[-]

mkdir /nonexistent


-- 
To unsubscribe, send mail to [email protected].

Reply via email to