forked from avTranscoder/avTranscoder
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsystem.hpp
More file actions
30 lines (20 loc) · 767 Bytes
/
system.hpp
File metadata and controls
30 lines (20 loc) · 767 Bytes
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
#ifndef _AV_TRANSCODER_SYSTEM_HPP_
#define _AV_TRANSCODER_SYSTEM_HPP_
#if defined(linux) || defined(__linux) || defined(LINUX) || defined(_LINUX) || defined(__LINUX__)
#ifndef __LINUX__
#define __LINUX__
#endif
#elif defined(macintosh) || defined(Macintosh) || defined(__APPLE__) || defined(__MACH__) || defined(MACOS) || \
defined(MACOSX) || defined(__MACOS__)
#ifndef __MACOS__
#define __MACOS__
#endif
#elif defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(WIN64) || defined(_WIN64) || defined(__WIN64__) || \
defined(__TOS_WIN__) || defined(WINDOWS) || defined(_WINDOWS) || defined(__WINDOWS__)
#ifndef __WINDOWS__
#define __WINDOWS__
#endif
#else
#warning "Your operating system is not recognized."
#endif
#endif