Skip to content

Instantly share code, notes, and snippets.

@tochiz
Created August 11, 2011 18:25
Show Gist options
  • Save tochiz/1140351 to your computer and use it in GitHub Desktop.
Save tochiz/1140351 to your computer and use it in GitHub Desktop.
gentoo prefix app-doc/doxygen patch for mac os x lion
diff -ruN doxygen-1.7.4.orig/qtools/qglobal.h doxygen-1.7.4/qtools/qglobal.h
--- doxygen-1.7.4.orig/qtools/qglobal.h 2011-08-12 03:16:23.000000000 +0900
+++ doxygen-1.7.4/qtools/qglobal.h 2011-08-12 03:18:35.000000000 +0900
@@ -89,7 +89,10 @@
# if !defined(MAC_OS_X_VERSION_10_6)
# define MAC_OS_X_VERSION_10_6 MAC_OS_X_VERSION_10_5 + 1
# endif
-# if (MAC_OS_X_VERSION_MAX_ALLOWED > MAC_OS_X_VERSION_10_6)
+# if !defined(MAC_OS_X_VERSION_10_7)
+# define MAC_OS_X_VERSION_10_7 MAC_OS_X_VERSION_10_6 + 1
+# endif
+# if (MAC_OS_X_VERSION_MAX_ALLOWED > MAC_OS_X_VERSION_10_7)
# error "This version of Mac OS X is unsupported"
# endif
#elif defined(MSDOS) || defined(_MSDOS) || defined(__MSDOS__)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment