Skip to content

Instantly share code, notes, and snippets.

@rubenfonseca
Created March 3, 2013 20:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rubenfonseca/5078149 to your computer and use it in GitHub Desktop.
Save rubenfonseca/5078149 to your computer and use it in GitHub Desktop.
Fix for compiling fontforge in Mountain Lion 10.8.2
diff --git a/fontforge/startui.c b/fontforge/startui.c
index 6eb9a62..62f4155 100644
--- a/fontforge/startui.c
+++ b/fontforge/startui.c
@@ -50,6 +50,7 @@
# include </Developer/Headers/FlatCarbon/Files.h>
# define FontInfo MacFontInfo
# define KernPair MacKernPair
+# define AnchorPoint MacAnchorPoint
# include </Developer/Headers/FlatCarbon/CarbonEvents.h>
/* For reasons obscure to me RunApplicationEventLoop is not defined in */
/* the mac header files if we are in 64 bit mode. Strangely it seems to */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment