summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2020-07-12 09:35:30 (GMT)
committerfvogel <fvogelnew1@free.fr>2020-07-12 09:35:30 (GMT)
commit4daf13d8e213797a97952c0147a165acdd260a29 (patch)
tree5b634c2e0669274dabcbcc8844da94d9fcaadfe3 /generic
parentd4b6f771bf98678dea8579ef892a87fd11776de6 (diff)
downloadtk-4daf13d8e213797a97952c0147a165acdd260a29.zip
tk-4daf13d8e213797a97952c0147a165acdd260a29.tar.gz
tk-4daf13d8e213797a97952c0147a165acdd260a29.tar.bz2
tkFont.c needs to include tkMacOSXInt.h on macOS, because this is where TK_DRAW_IN_CONTEXT is defined.
Diffstat (limited to 'generic')
-rw-r--r--generic/tkFont.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/generic/tkFont.c b/generic/tkFont.c
index 148ba20..c507371 100644
--- a/generic/tkFont.c
+++ b/generic/tkFont.c
@@ -13,6 +13,9 @@
#include "tkInt.h"
#include "tkFont.h"
+#if defined(MAC_OSX_TK)
+#include "tkMacOSXInt.h" /* Defines TK_DRAW_IN_CONTEXT */
+#endif
/*
* The following structure is used to keep track of all the fonts that exist