mirror of https://github.com/MidnightCommander/mc
Mcedit: changed some #include's. This makes it possible to remove some
-I options from makefiles, at least for the PC port
This commit is contained in:
parent
c278a2c3a7
commit
0a4550ca9f
|
@ -1636,7 +1636,7 @@ int edit_translate_key (WEdit * edit, unsigned int x_keycode, long x_key, int x_
|
|||
int command = -1;
|
||||
int char_for_insertion = -1;
|
||||
|
||||
#include "edit/edit_key_translator.c"
|
||||
#include "edit_key_translator.c"
|
||||
|
||||
*cmd = command;
|
||||
*ch = char_for_insertion;
|
||||
|
|
32
edit/edit.h
32
edit/edit.h
|
@ -14,7 +14,7 @@
|
|||
# include <unistd.h>
|
||||
# endif
|
||||
# include <string.h>
|
||||
# include "src/tty.h"
|
||||
# include "../src/tty.h"
|
||||
# include <sys/stat.h>
|
||||
# include <errno.h>
|
||||
|
||||
|
@ -75,21 +75,21 @@
|
|||
|
||||
#else
|
||||
|
||||
# include "src/main.h" /* for char *shell */
|
||||
# include "src/mad.h"
|
||||
# include "src/dlg.h"
|
||||
# include "src/widget.h"
|
||||
# include "src/color.h"
|
||||
# include "src/dialog.h"
|
||||
# include "src/mouse.h"
|
||||
# include "src/global.h"
|
||||
# include "src/help.h"
|
||||
# include "src/key.h"
|
||||
# include "src/wtools.h" /* for QuickWidgets */
|
||||
# include "src/win.h"
|
||||
# include "vfs/vfs.h"
|
||||
# include "src/menu.h"
|
||||
# include "src/regex.h"
|
||||
# include "../src/main.h" /* for char *shell */
|
||||
# include "../src/mad.h"
|
||||
# include "../src/dlg.h"
|
||||
# include "../src/widget.h"
|
||||
# include "../src/color.h"
|
||||
# include "../src/dialog.h"
|
||||
# include "../src/mouse.h"
|
||||
# include "../src/global.h"
|
||||
# include "../src/help.h"
|
||||
# include "../src/key.h"
|
||||
# include "../src/wtools.h" /* for QuickWidgets */
|
||||
# include "../src/win.h"
|
||||
# include "../vfs/vfs.h"
|
||||
# include "../src/menu.h"
|
||||
# include "../src/regex.h"
|
||||
# define WANT_WIDGETS
|
||||
|
||||
# define WIDGET_COMMAND (WIDGET_USER + 10)
|
||||
|
|
|
@ -71,7 +71,7 @@ char *strcasechr (const unsigned char *s, int c)
|
|||
}
|
||||
|
||||
|
||||
#include "src/mad.h"
|
||||
#include "../src/mad.h"
|
||||
|
||||
#ifndef HAVE_MEMMOVE
|
||||
/* for Christophe */
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
#include "app_glob.c"
|
||||
#include "coollocal.h"
|
||||
#else
|
||||
#include "src/mad.h"
|
||||
#include "../src/mad.h"
|
||||
#endif
|
||||
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
|
||||
#ifdef MIDNIGHT
|
||||
|
||||
#include "src/mad.h"
|
||||
#include "../src/mad.h"
|
||||
|
||||
extern int edit_key_emulation;
|
||||
extern WEdit *wedit;
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
#define USE_INTERNAL_EDIT 1
|
||||
#endif
|
||||
|
||||
#include "src/main.h" /* extern int option_this_and_that ... */
|
||||
#include "../src/main.h" /* extern int option_this_and_that ... */
|
||||
|
||||
char *key_emu_str[] =
|
||||
{"Intuitive", "Emacs"};
|
||||
|
|
Loading…
Reference in New Issue