Move BLUR_TRANSPARENCY into its own file

... so that both Vim and MacVim can see it.

I'm an idiot and didn't realize MacVim doesn't reference vim.h, so of
course the #define can't be there.
This commit is contained in:
Ryan Hendrickson
2015-10-15 16:00:26 -04:00
parent 5f8d41a6fb
commit c98dc4f95f
5 changed files with 8 additions and 2 deletions
+1
View File
@@ -35,6 +35,7 @@
#import "Miscellaneous.h"
#import "MMCoreTextView.h"
#import "MMWindow.h"
#import "blur.h"
static NSString *MMDefaultToolbarImageName = @"Attention";
+1
View File
@@ -9,6 +9,7 @@
*/
#import "MacVim.h"
#import "blur.h"
+1
View File
@@ -9,6 +9,7 @@
*/
#import "MacVim.h"
#import "blur.h"
+3
View File
@@ -0,0 +1,3 @@
#if defined(MAC_OS_X_VERSION_10_5) && (MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5)
# define BLUR_TRANSPARENCY
#endif
+2 -2
View File
@@ -1752,8 +1752,8 @@ typedef int proftime_T; /* dummy for function prototypes */
#endif
/* Needs to be before option.h, which uses BLUR_TRANSPARENCY */
#if defined(FEAT_TRANSPARENCY) && defined(MAC_OS_X_VERSION_10_5) && (MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5)
# define BLUR_TRANSPARENCY
#ifdef FEAT_TRANSPARENCY
# include "MacVim/blur.h"
#endif
/* Include option.h before structs.h, because the number of window-local and