diff --git a/util/export.h b/util/export.h index 6a82c5a..0723b3a 100644 --- a/util/export.h +++ b/util/export.h @@ -1,52 +1,52 @@ /* Copyright (C) 2014 Andreas Hartmetz This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this library; see the file COPYING.LGPL. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Alternatively, this file is available under the Mozilla Public License Version 1.1. You may obtain a copy of the License at http://www.mozilla.org/MPL/ */ #ifdef _WIN32 #ifdef dfer_EXPORTS #define DFERRY_EXPORT __declspec(dllexport) #else #define DFERRY_EXPORT __declspec(dllimport) #endif #ifdef dferclient_EXPORTS #define DFERRYCLIENT_EXPORT __declspec(dllexport) #else #define DFERRYCLIENT_EXPORT __declspec(dllimport) #endif #else #ifdef dfer_EXPORTS -#define DFERRY_EXPORT __attribute__ ((visibility ("protected"))) +#define DFERRY_EXPORT __attribute__ ((visibility ("default"))) #else #define DFERRY_EXPORT __attribute__ ((visibility ("default"))) #endif #ifdef dferclient_EXPORTS -#define DFERRYCLIENT_EXPORT __attribute__ ((visibility ("protected"))) +#define DFERRYCLIENT_EXPORT __attribute__ ((visibility ("default"))) #else #define DFERRYCLIENT_EXPORT __attribute__ ((visibility ("default"))) #endif #endif // _WIN32