S Morita / mbed-mros2

Dependents:   mbed-os-example-mros2 example-mbed-mros2-sub-pose example-mbed-mros2-pub-twist example-mbed-mros2-mturtle-teleop

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers dll.h Source File

dll.h

00001 // Copyright 2017 Proyectos y Sistemas de Mantenimiento SL (eProsima).
00002 //
00003 // Licensed under the Apache License, Version 2.0 (the "License");
00004 // you may not use this file except in compliance with the License.
00005 // You may obtain a copy of the License at
00006 //
00007 //     http://www.apache.org/licenses/LICENSE-2.0
00008 //
00009 // Unless required by applicable law or agreed to in writing, software
00010 // distributed under the License is distributed on an "AS IS" BASIS,
00011 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00012 // See the License for the specific language governing permissions and
00013 // limitations under the License.
00014 
00015 
00016 #ifndef _MICROCDR_DLL_H_
00017 #define _MICROCDR_DLL_H_
00018 
00019 #if defined(_WIN32)
00020 #if defined(microcdr_SHARED)
00021 #if defined(microcdr_EXPORTS)
00022 #define UCDRDLLAPI __declspec( dllexport )
00023 #else
00024 #define UCDRDLLAPI __declspec( dllimport )
00025 #endif // microcdr_EXPORTS
00026 #else
00027 #define UCDRDLLAPI
00028 #endif // BUILDING_SHARED_LIBS
00029 #else
00030 #define UCDRDLLAPI
00031 #endif // _WIN32
00032 
00033 #endif // _MICROCDR_DLL_H_