Avro C++
|
00001 /* 00002 * Licensed to the Apache Software Foundation (ASF) under one 00003 * or more contributor license agreements. See the NOTICE file 00004 * distributed with this work for additional information 00005 * regarding copyright ownership. The ASF licenses this file 00006 * to you under the Apache License, Version 2.0 (the 00007 * "License"); you may not use this file except in compliance 00008 * with the License. You may obtain a copy of the License at 00009 * 00010 * http://www.apache.org/licenses/LICENSE-2.0 00011 * 00012 * Unless required by applicable law or agreed to in writing, software 00013 * distributed under the License is distributed on an "AS IS" BASIS, 00014 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00015 * See the License for the specific language governing permissions and 00016 * limitations under the License. 00017 */ 00018 00019 #ifndef avro_Config_hh 00020 #define avro_Config_hh 00021 00022 // Windows DLL suport 00023 00024 #ifdef _WIN32 00025 #pragma warning (disable: 4275 4251) 00026 00027 #if defined(AVRO_DYN_LINK) 00028 #ifdef AVRO_SOURCE 00029 # define AVRO_DECL __declspec(dllexport) 00030 #else 00031 # define AVRO_DECL __declspec(dllimport) 00032 #endif // AVRO_SOURCE 00033 #endif // AVRO_DYN_LINK 00034 #endif // _WIN32 00035 00036 #ifndef AVRO_DECL 00037 #define AVRO_DECL 00038 #endif 00039 00040 #endif 00041