1fa7767c5Sopenharmony_ci/*
2fa7767c5Sopenharmony_ci * Copyright (c) 2023-2023 Huawei Device Co., Ltd.
3fa7767c5Sopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License");
4fa7767c5Sopenharmony_ci * you may not use this file except in compliance with the License.
5fa7767c5Sopenharmony_ci * You may obtain a copy of the License at
6fa7767c5Sopenharmony_ci *
7fa7767c5Sopenharmony_ci *     http://www.apache.org/licenses/LICENSE-2.0
8fa7767c5Sopenharmony_ci *
9fa7767c5Sopenharmony_ci * Unless required by applicable law or agreed to in writing, software
10fa7767c5Sopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS,
11fa7767c5Sopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12fa7767c5Sopenharmony_ci * See the License for the specific language governing permissions and
13fa7767c5Sopenharmony_ci * limitations under the License.
14fa7767c5Sopenharmony_ci */
15fa7767c5Sopenharmony_ci
16fa7767c5Sopenharmony_ci#ifndef HISTREAMER_FOUNDATION_PRE_DEFINES_H
17fa7767c5Sopenharmony_ci#define HISTREAMER_FOUNDATION_PRE_DEFINES_H
18fa7767c5Sopenharmony_ci
19fa7767c5Sopenharmony_ci#define UNUSED_VARIABLE(v) ((void)(v))
20fa7767c5Sopenharmony_ci
21fa7767c5Sopenharmony_ci#if (defined(__GNUC__) || defined(__clang__)) && (!defined(WIN32))
22fa7767c5Sopenharmony_ci#define MEDIA_UNUSED __attribute__((unused))
23fa7767c5Sopenharmony_ci#else
24fa7767c5Sopenharmony_ci#define MEDIA_UNUSED
25fa7767c5Sopenharmony_ci#endif
26fa7767c5Sopenharmony_ci#endif // HISTREAMER_FOUNDATION_PRE_DEFINES_H
27