Windows(C++)[v1.7.5.0]
PanoConf.h
浏览该文件的文档.
1
3#pragma once
4
5#if defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(_WIN64) || defined(__CYGWIN__)
6# define PANO_OS_WIN
7#elif defined(linux) || defined(__linux) || defined(__linux__)
8# define PANO_OS_LINUX
9# if defined(__ANDROID__)
10# define PANO_OS_ANDROID
11# endif
12#elif defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__)
13# define PANO_OS_MAC
14# include <TargetConditionals.h>
15# if TARGET_OS_IPHONE == 1
16# define PANO_OS_IOS
17# endif
18#else
19# error "unknown OS"
20#endif
21
22#ifdef PANO_OS_WIN
23# if defined(_WIN64)
24# define PANO_ENV64
25# else
26# define PANO_ENV32
27# endif
28#endif
29
30#if defined(__GNUC__) || defined(__clang__)
31# if defined(__x86_64__) || defined(__ppc64__)
32# define PANO_ENV64
33# else
34# define PANO_ENV32
35# endif
36#endif