Skip to content

Commit

Permalink
Disable MacVim plugins for now
Browse files Browse the repository at this point in the history
The supporting files for CTGradient and RBSplitView causes several
warnings when compiling for 64 bit.  Since nobody uses MacVim plugins
I have decided to disable them instead of having to support these files
(although these warnings are easy enough to fix for anybody interested).
  • Loading branch information
b4winckler committed Sep 28, 2009
1 parent 9c1037f commit 281f280
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
3 changes: 3 additions & 0 deletions src/MacVim/CTGradient.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
// Released into public domain on 4/10/08.
//
// Version: 1.8
#ifdef MM_ENABLE_PLUGINS

#import "CTGradient.h"

Expand Down Expand Up @@ -1266,3 +1267,5 @@ void resolveHSV(float *color1, float *color2) //H value may be undefined (i.e. g
}

@end

#endif // MM_ENABLE_PLUGINS
5 changes: 3 additions & 2 deletions src/MacVim/MacVim.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@


//
// Enable support for MacVim plugins (not to be confused with Vim plugins!).
// Uncomment to enable support for MacVim plugins (not to be confused with Vim
// plugins!).
//
#define MM_ENABLE_PLUGINS
//#define MM_ENABLE_PLUGINS


// Taken from /usr/include/AvailabilityMacros.h
Expand Down
2 changes: 2 additions & 0 deletions src/MacVim/RBSplitSubview.m
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
// Copyright 2004-2006 Rainer Brockerhoff.
// Some Rights Reserved under the Creative Commons Attribution License, version 2.5, and/or the MIT License.
//
#ifdef MM_ENABLE_PLUGINS

#import "RBSplitView.h"
#import "RBSplitViewPrivateDefines.h"
Expand Down Expand Up @@ -925,3 +926,4 @@ - (double)RB___fraction {

@end

#endif // MM_ENABLE_PLUGINS
2 changes: 2 additions & 0 deletions src/MacVim/RBSplitView.m
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
// Copyright 2004-2006 Rainer Brockerhoff.
// Some Rights Reserved under the Creative Commons Attribution License, version 2.5, and/or the MIT License.
//
#ifdef MM_ENABLE_PLUGINS

#import "RBSplitView.h"
#import "RBSplitViewPrivateDefines.h"
Expand Down Expand Up @@ -1732,3 +1733,4 @@ - (void)RB___adjustSubviewsExcepting:(RBSplitSubview*)excepting {

@end

#endif // MM_ENABLE_PLUGINS

0 comments on commit 281f280

Please sign in to comment.