1
// Copyright (C) 2006, 2007, 2008 Free Software Foundation, Inc.
3
// This program is free software; you can redistribute it and/or modify
4
// it under the terms of the GNU General Public License as published by
5
// the Free Software Foundation; either version 3 of the License, or
6
// (at your option) any later version.
8
// This program is distributed in the hope that it will be useful,
9
// but WITHOUT ANY WARRANTY; without even the implied warranty of
10
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
// GNU General Public License for more details.
13
// You should have received a copy of the GNU General Public License
14
// along with this program; if not, write to the Free Software
15
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22
#include "gnashconfig.h"
27
#define DSOEXPORT __declspec(dllexport)
29
// Temporarily commented because of VC++ compiler problems
30
#define DSOEXPORT // __declspec(dllimport)
34
#elif defined(__OS2__)
36
#define DSOEXPORT __declspec(dllexport)
38
// Temporarily commented because of VC++ compiler problems
39
#define DSOEXPORT // __declspec(dllimport)
45
#ifdef HAVE_GNUC_VISIBILITY
46
#define DSOEXPORT __attribute__ ((visibility("default")))
47
#define DSOLOCAL __attribute__ ((visibility("hidden")))
48
#elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550) /* Sun Studio >= 8 */
49
#define DSOEXPORT __global
50
#define DSOLOCAL __hidden
57
#endif /* DSODEFS_H */