aboutsummaryrefslogtreecommitdiff
path: root/lib/UnrarXLib/raros.hpp
blob: 3483da3548cf2a3264ff712b32e9146c814fb284 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#ifndef _RAR_RAROS_
#define _RAR_RAROS_

#if defined(_XBMC)
#ifndef _WIN_32
  #define _WIN_32
#endif
  #define SILENT
#endif

#ifdef __EMX__
  #define _EMX
#endif

#ifdef __DJGPP__
  #define _DJGPP
  #define _EMX
#endif

#if (defined(__WIN32__) || defined(_WIN32)) && !defined(_WIN_32)
  #define _WIN_32
#endif

#ifdef _WIN32_WCE
  #define _WIN_32
  #define _WIN_CE
  #ifdef WM_FILECHANGEINFO
    #define PC2002
  #else
    #undef PC2002
  #endif
#endif

#ifdef __BEOS__
  #define _UNIX
  #define _BEOS
#endif

#ifdef __APPLE__
  #define _UNIX
  #define _APPLE
#endif

#if !defined(_EMX) && !defined(_WIN_32) && !defined(_BEOS) && !defined(_APPLE)
  #define _UNIX
#endif

#endif