diff options
author | Hettomei <itsumo.sibyllin@gmail.com> | 2015-05-08 14:42:59 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2015-07-17 21:40:39 -0400 |
commit | 9b58fc69860406b42b86546138f4dae14190ea63 (patch) | |
tree | 591304a1a1c780acdf17bfbdfd73bbf734d01d95 /src | |
parent | db9bcadb0585b1a94031350263d185e7974bf0b1 (diff) | |
download | rneovim-9b58fc69860406b42b86546138f4dae14190ea63.tar.gz rneovim-9b58fc69860406b42b86546138f4dae14190ea63.tar.bz2 rneovim-9b58fc69860406b42b86546138f4dae14190ea63.zip |
Macro cleanup: FEAT_GUI_MAC
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/normal.c | 4 | ||||
-rw-r--r-- | src/nvim/vim.h | 12 |
2 files changed, 4 insertions, 12 deletions
diff --git a/src/nvim/normal.c b/src/nvim/normal.c index c69306ed47..7b445dcab6 100644 --- a/src/nvim/normal.c +++ b/src/nvim/normal.c @@ -2105,10 +2105,6 @@ do_mouse ( * NOTE: Ignore right button down and drag mouse events. * Windows only shows the popup menu on the button up event. */ -#if defined(FEAT_GUI_MAC) - if (!is_click) - return false; -#endif return false; } if (which_button == MOUSE_LEFT diff --git a/src/nvim/vim.h b/src/nvim/vim.h index 446d1e0265..17f9cbc310 100644 --- a/src/nvim/vim.h +++ b/src/nvim/vim.h @@ -332,19 +332,15 @@ enum { /* Maximum number of bytes in a multi-byte character. It can be one 32-bit * character of up to 6 bytes, or one 16-bit character of up to three bytes * plus six following composing characters of three bytes each. */ -# define MB_MAXBYTES 21 +#define MB_MAXBYTES 21 /* This has to go after the include of proto.h, as proto/gui.pro declares * functions of these names. The declarations would break if the defines had * been seen at that stage. But it must be before globals.h, where error_ga * is declared. */ -#if !defined(FEAT_GUI_MAC) -# define mch_errmsg(str) fprintf(stderr, "%s", (str)) -# define display_errors() fflush(stderr) -# define mch_msg(str) printf("%s", (str)) -#else -# define USE_MCH_ERRMSG -#endif +#define mch_errmsg(str) fprintf(stderr, "%s", (str)) +#define display_errors() fflush(stderr) +#define mch_msg(str) printf("%s", (str)) #include "nvim/globals.h" /* global variables and messages */ #include "nvim/buffer_defs.h" /* buffer and windows */ |