AvTranscoder  0.9.4
C++APIforLibav/FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
system.hpp
Go to the documentation of this file.
1 #ifndef _AV_TRANSCODER_SYSTEM_HPP_
2 #define _AV_TRANSCODER_SYSTEM_HPP_
3 
4 #if defined(linux) || defined(__linux) || defined(LINUX) || defined(_LINUX) || defined(__LINUX__)
5 
6 #ifndef __LINUX__
7 #define __LINUX__
8 #endif
9 
10 #elif defined(macintosh) || defined(Macintosh) || defined(__APPLE__) || defined(__MACH__) || defined(MACOS) || \
11  defined(MACOSX) || defined(__MACOS__)
12 
13 #ifndef __MACOS__
14 #define __MACOS__
15 #endif
16 
17 #elif defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(WIN64) || defined(_WIN64) || defined(__WIN64__) || \
18  defined(__TOS_WIN__) || defined(WINDOWS) || defined(_WINDOWS) || defined(__WINDOWS__)
19 
20 #ifndef __WINDOWS__
21 #define __WINDOWS__
22 #endif
23 
24 #else
25 
26 #warning "Your operating system is not recognized."
27 
28 #endif
29 
30 #endif