Blame rdtk/include/rdtk/api.h
|
Packit Service |
fa4841 |
/**
|
|
Packit Service |
fa4841 |
* RdTk: Remote Desktop Toolkit
|
|
Packit Service |
fa4841 |
*
|
|
Packit Service |
fa4841 |
* Copyright 2014 Marc-Andre Moreau <marcandre.moreau@gmail.com>
|
|
Packit Service |
fa4841 |
*
|
|
Packit Service |
fa4841 |
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
Packit Service |
fa4841 |
* you may not use this file except in compliance with the License.
|
|
Packit Service |
fa4841 |
* You may obtain a copy of the License at
|
|
Packit Service |
fa4841 |
*
|
|
Packit Service |
fa4841 |
* http://www.apache.org/licenses/LICENSE-2.0
|
|
Packit Service |
fa4841 |
*
|
|
Packit Service |
fa4841 |
* Unless required by applicable law or agreed to in writing, software
|
|
Packit Service |
fa4841 |
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
Packit Service |
fa4841 |
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
Packit Service |
fa4841 |
* See the License for the specific language governing permissions and
|
|
Packit Service |
fa4841 |
* limitations under the License.
|
|
Packit Service |
fa4841 |
*/
|
|
Packit Service |
fa4841 |
|
|
Packit Service |
fa4841 |
#ifndef RDTK_API_H
|
|
Packit Service |
fa4841 |
#define RDTK_API_H
|
|
Packit Service |
fa4841 |
|
|
Packit Service |
fa4841 |
#include <winpr/spec.h>
|
|
Packit Service |
fa4841 |
|
|
Packit Service |
fa4841 |
/* Don't do any export */
|
|
Packit Service |
fa4841 |
#if 0
|
|
Packit Service |
fa4841 |
#if defined _WIN32 || defined __CYGWIN__
|
|
Packit Service |
fa4841 |
#ifdef RDTK_EXPORTS
|
|
Packit Service |
fa4841 |
#ifdef __GNUC__
|
|
Packit Service |
fa4841 |
#define RDTK_EXPORT __attribute__((dllexport))
|
|
Packit Service |
fa4841 |
#else
|
|
Packit Service |
fa4841 |
#define RDTK_EXPORT __declspec(dllexport)
|
|
Packit Service |
fa4841 |
#endif
|
|
Packit Service |
fa4841 |
#else
|
|
Packit Service |
fa4841 |
#ifdef __GNUC__
|
|
Packit Service |
fa4841 |
#define RDTK_EXPORT __attribute__((dllimport))
|
|
Packit Service |
fa4841 |
#else
|
|
Packit Service |
fa4841 |
#define RDTK_EXPORT __declspec(dllimport)
|
|
Packit Service |
fa4841 |
#endif
|
|
Packit Service |
fa4841 |
#endif
|
|
Packit Service |
fa4841 |
#else
|
|
Packit Service |
fa4841 |
#if __GNUC__ >= 4
|
|
Packit Service |
fa4841 |
#define RDTK_EXPORT __attribute__((visibility("default")))
|
|
Packit Service |
fa4841 |
#else
|
|
Packit Service |
fa4841 |
#define RDTK_EXPORT
|
|
Packit Service |
fa4841 |
#endif
|
|
Packit Service |
fa4841 |
#endif
|
|
Packit Service |
fa4841 |
#endif
|
|
Packit Service |
fa4841 |
#define RDTK_EXPORT
|
|
Packit Service |
fa4841 |
|
|
Packit Service |
fa4841 |
#endif /* RDTK_API_H */
|