- converted 1st stage setup stub from message box style to property sheet style
[reactos.git] / rosapps / applications / mc / src / global.h
1 #ifndef __GLOBAL_H
2 #define __GLOBAL_H
3
4 extern char *home_dir;
5
6 #ifdef min
7 #undef min
8 #endif
9
10 #ifdef max
11 #undef max
12 #endif
13
14 #define min(x,y) (x>y ? y: x)
15 #define max(x,y) (x>y ? x: y)
16
17 void refresh_screen (void *);
18
19 #ifndef HAVE_STRDUP
20 char *strdup (const char *);
21 #endif
22
23 /* AIX compiler doesn't understand '\e' */
24 #define ESC_CHAR '\033'
25 #define ESC_STR "\033"
26
27 #ifdef USE_BSD_CURSES
28 # define xgetch x_getch
29 #else
30 # define xgetch getch
31 #endif
32
33 #endif