mirror of https://github.com/MidnightCommander/mc
* features.h, keys.h, textconf.h, x.h: added protection against
multiple inclusion
This commit is contained in:
parent
6bdd6d961d
commit
6c7f15c285
|
@ -1,3 +1,8 @@
|
|||
2000-08-30 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* features.h, keys.h, textconf.h, x.h: added protection against
|
||||
multiple inclusion
|
||||
|
||||
2000-08-23 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* features.c: include <sys/param.h> to avoid a warning
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
#ifndef __FEATURES_H
|
||||
#define __FEATURES_H
|
||||
|
||||
#ifdef USE_NCURSES
|
||||
#define status_using_ncurses (1)
|
||||
#else
|
||||
|
@ -5,3 +8,5 @@
|
|||
#endif
|
||||
|
||||
extern void version (int verbose);
|
||||
|
||||
#endif /* __FEATURES_H */
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
#ifndef __KEYS_H
|
||||
#define __KEYS_H
|
||||
|
||||
/* Key constants as used by mc for non-curses ports */
|
||||
|
||||
enum {
|
||||
|
@ -13,3 +16,5 @@ enum {
|
|||
|
||||
|
||||
#define KEY_F(x) 1000+x
|
||||
|
||||
#endif /* __KEYS_H */
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#ifndef __TEXTCONF_H
|
||||
#define __TEXTCONF_H
|
||||
/* Defines what features are to be includes in the text mode edition */
|
||||
|
||||
#define COMPUTE_FORMAT_ALLOCATIONS 1
|
||||
|
@ -5,3 +7,5 @@
|
|||
#define PORT_NEEDS_CHANGE_SCREEN_SIZE 1
|
||||
#define x_flush_events()
|
||||
#define port_shutdown_extra_fds()
|
||||
|
||||
#endif /* __TEXTCONF_H */
|
||||
|
|
Loading…
Reference in New Issue