mirror of
https://github.com/reactos/reactos.git
synced 2024-12-31 19:42:51 +00:00
e5c0c7185e
svn path=/trunk/; revision=2456
33 lines
457 B
C
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
|