summaryrefslogtreecommitdiffstats
path: root/generic/ttk
diff options
context:
space:
mode:
authorandreask <andreask>2014-02-03 19:01:57 (GMT)
committerandreask <andreask>2014-02-03 19:01:57 (GMT)
commit7799ee3637c5c613326a783eb8b3caf625d0064d (patch)
tree07748858fdb9b614de3cb28f3d261a63f187fdc7 /generic/ttk
parent53dc4635d0bf64085467f976a07067844f7016c7 (diff)
downloadtk-7799ee3637c5c613326a783eb8b3caf625d0064d.zip
tk-7799ee3637c5c613326a783eb8b3caf625d0064d.tar.gz
tk-7799ee3637c5c613326a783eb8b3caf625d0064d.tar.bz2
Squash problem with native AIX cc not allowing direct macro redefinition.
Diffstat (limited to 'generic/ttk')
-rw-r--r--generic/ttk/ttkLabel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/generic/ttk/ttkLabel.c b/generic/ttk/ttkLabel.c
index 0f71970..d51388b 100644
--- a/generic/ttk/ttkLabel.c
+++ b/generic/ttk/ttkLabel.c
@@ -486,6 +486,7 @@ static Ttk_ElementOptionSpec LabelElementOptions[] = {
* Calculate the text, image, and total width and height.
*/
+#undef MAX
#define MAX(a,b) ((a) > (b) ? a : b);
static void LabelSetup(
LabelElement *c, Tk_Window tkwin, Ttk_State state)