This is an automated email from the ASF dual-hosted git repository. zghao pushed a commit to branch HBASE-14850 in repository https://gitbox.apache.org/repos/asf/hbase.git
commit e804f4fb9637f9105660c4af3df42649af2d0282 Author: Enis Soztutar <[email protected]> AuthorDate: Thu Sep 14 14:07:34 2017 -0700 HBASE-18802 [C++] Remove hbase-macros.h --- hbase-native-client/core/hbase-macros.h | 56 --------------------------------- 1 file changed, 56 deletions(-) diff --git a/hbase-native-client/core/hbase-macros.h b/hbase-native-client/core/hbase-macros.h deleted file mode 100644 index d70c247..0000000 --- a/hbase-native-client/core/hbase-macros.h +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -#pragma once - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * The following code block define API as the tag for exported - * functions. The library should be compiled with symbols visibility - * set to hidden by default and only the exported functions should be - * tagged as HBASE_API. - * - * When building the library on Windows, compile with compiler flag - * "-D_LIBHBASE_IMPLEMENTATION_", whereas when linking application with - * this library, this compiler flag should not be used. - */ -#if defined _WIN32 || defined __CYGWIN__ -#ifdef _LIBHBASE_IMPLEMENTATION_ -#define API __declspec(dllexport) -#else -#ifdef _LIBHBASE_TEST_ -#define HBASE_API -#else -#define HBASE_API __declspec(dllimport) -#endif -#endif -#else -#if __GNUC__ >= 4 -#define HBASE_API __attribute__((visibility("default"))) -#else -#define HBASE_API -#endif -#endif - -#ifdef __cplusplus -} // extern "C" -#endif // __cplusplus
