aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/xz/common/config.h
blob: 7df87478733fab5239b2abb4b235ed095a295e59 (plain) (blame)
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
#pragma once

#include <util/system/platform.h>

#if defined(_android_)
#   if defined(_i386_)
#       include "config-android-i386.h"
#   elif defined(_x86_64_)
#       include "config-linux.h"
#   elif defined(_arm32_)
#       include "config-android-arm32.h"
#   elif defined(_arm64_)
#       include "config-android-arm64.h"
#   endif
#elif defined(_linux_)
#   include "config-linux.h"
#elif defined(_darwin_)
#   include "config-darwin.h"
#elif defined(_windows_)
#   include "config-windows.h"
#else
#   error "Unsupported platform"
#endif