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)
commit13ee68d0a533f9e3f26a36ebcee6fcc81255c7da (patch)
tree07748858fdb9b614de3cb28f3d261a63f187fdc7 /generic/ttk
parentcfbc1af2b1eab6d4111d553b9330dfbb99ac47bc (diff)
downloadtk-13ee68d0a533f9e3f26a36ebcee6fcc81255c7da.zip
tk-13ee68d0a533f9e3f26a36ebcee6fcc81255c7da.tar.gz
tk-13ee68d0a533f9e3f26a36ebcee6fcc81255c7da.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)