115053c2dSopenharmony_ci/*
215053c2dSopenharmony_ci * Copyright (c) 2021 Huawei Device Co., Ltd.
315053c2dSopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License");
415053c2dSopenharmony_ci * you may not use this file except in compliance with the License.
515053c2dSopenharmony_ci * You may obtain a copy of the License at
615053c2dSopenharmony_ci *
715053c2dSopenharmony_ci *     http://www.apache.org/licenses/LICENSE-2.0
815053c2dSopenharmony_ci *
915053c2dSopenharmony_ci * Unless required by applicable law or agreed to in writing, software
1015053c2dSopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS,
1115053c2dSopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1215053c2dSopenharmony_ci * See the License for the specific language governing permissions and
1315053c2dSopenharmony_ci * limitations under the License.
1415053c2dSopenharmony_ci */
1515053c2dSopenharmony_ci
1615053c2dSopenharmony_ci#ifndef OHOS_DISTRIBUTED_DATA_INTERFACE_DISTRIBUTEDDATA_INCLUDE_COMMON_VISIBILITY_H
1715053c2dSopenharmony_ci#define OHOS_DISTRIBUTED_DATA_INTERFACE_DISTRIBUTEDDATA_INCLUDE_COMMON_VISIBILITY_H
1815053c2dSopenharmony_ci
1915053c2dSopenharmony_ci#ifndef API_EXPORT
2015053c2dSopenharmony_ci#define API_EXPORT __attribute__((visibility("default")))
2115053c2dSopenharmony_ci#endif
2215053c2dSopenharmony_ci#ifndef KVSTORE_API
2315053c2dSopenharmony_ci#define KVSTORE_API API_EXPORT
2415053c2dSopenharmony_ci#endif
2515053c2dSopenharmony_ci
2615053c2dSopenharmony_ci#endif // OHOS_DISTRIBUTED_DATA_INTERFACE_DISTRIBUTEDDATA_INCLUDE_COMMON_VISIBILITY_H