reactos/rosapps/mc/src/global.h
Steven Edwards e5c0c7185e Midnight Commander for Win32
svn path=/trunk/; revision=2456
2001-12-30 10:02:14 +00:00

33 lines
457 B
C

#ifndef __GLOBAL_H
#define __GLOBAL_H
extern char *home_dir;
#ifdef min
#undef min
#endif
#ifdef max
#undef max
#endif
#define min(x,y) (x>y ? y: x)
#define max(x,y) (x>y ? x: y)
void refresh_screen (void *);
#ifndef HAVE_STRDUP
char *strdup (const char *);
#endif
/* AIX compiler doesn't understand '\e' */
#define ESC_CHAR '\033'
#define ESC_STR "\033"
#ifdef USE_BSD_CURSES
# define xgetch x_getch
#else
# define xgetch getch
#endif
#endif