From fba758954cfaa4ab8fdb5c7cf381f3182c169b85 Mon Sep 17 00:00:00 2001
From: "Christopher J. Morrone" <morrone2@llnl.gov>
Date: Tue, 21 Nov 2006 23:32:18 +0000
Subject: [PATCH] Comment func_data work-around for posterity.

---
 src/sview/sview.h | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/sview/sview.h b/src/sview/sview.h
index dba82af2286..3364e3e95b4 100644
--- a/src/sview/sview.h
+++ b/src/sview/sview.h
@@ -56,9 +56,13 @@
 #include <string.h>
 #include <unistd.h>
 #if defined(HAVE_AIX)
-#undef func_data
+/* AIX defines a func_data macro which conflicts with func_data
+ * variable names in the gtk.h headers */
+#  undef func_data
+#  include <gtk/gtk.h>
+#else
+#  include <gtk/gtk.h>
 #endif
-#include <gtk/gtk.h>
 
 #include "src/common/bitstring.h"
 #include "src/common/hostlist.h"
-- 
GitLab