2009-11-10 16:48:42 +01:00
|
|
|
#ifndef _RAR_RAROS_
|
|
|
|
#define _RAR_RAROS_
|
|
|
|
|
|
|
|
#ifdef __EMX__
|
|
|
|
#define _EMX
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __DJGPP__
|
|
|
|
#define _DJGPP
|
|
|
|
#define _EMX
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(__WIN32__) || defined(_WIN32)
|
2020-07-15 00:40:26 +02:00
|
|
|
#define _WIN_ALL // Defined for all Windows platforms, 32 and 64 bit, mobile and desktop.
|
|
|
|
#ifdef _M_X64
|
|
|
|
#define _WIN_64
|
2009-11-10 16:48:42 +01:00
|
|
|
#else
|
2020-07-15 00:40:26 +02:00
|
|
|
#define _WIN_32
|
2009-11-10 16:48:42 +01:00
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
2020-07-15 00:40:26 +02:00
|
|
|
#if defined(ANDROID) || defined(__ANDROID__)
|
2009-11-10 16:48:42 +01:00
|
|
|
#define _UNIX
|
2020-07-15 00:40:26 +02:00
|
|
|
#define _ANDROID
|
2009-11-10 16:48:42 +01:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __APPLE__
|
|
|
|
#define _UNIX
|
|
|
|
#define _APPLE
|
|
|
|
#endif
|
|
|
|
|
2020-07-15 00:40:26 +02:00
|
|
|
#if !defined(_EMX) && !defined(_WIN_ALL) && !defined(_BEOS) && !defined(_APPLE)
|
2009-11-10 16:48:42 +01:00
|
|
|
#define _UNIX
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|