Macro cleanup: FEAT_GUI_MAC

This commit is contained in:
Hettomei 2015-05-08 14:42:59 +02:00 committed by Justin M. Keyes
parent db9bcadb05
commit 9b58fc6986
2 changed files with 4 additions and 12 deletions

View File

@ -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

View File

@ -338,13 +338,9 @@ enum {
* 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
#include "nvim/globals.h" /* global variables and messages */
#include "nvim/buffer_defs.h" /* buffer and windows */