Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef DSODEFS_H
00020 #define DSODEFS_H
00021
00022 #ifdef HAVE_CONFIG_H
00023 #include "gnashconfig.h"
00024 #endif
00025
00026 #if defined(_MSC_VER) || defined(WIN32) || defined(_WIN32)
00027
00028 #ifdef DLL_EXPORT
00029 #define DSOEXPORT __declspec(dllexport)
00030 #else
00031
00032 #define DSOEXPORT // __declspec(dllimport)
00033 #endif
00034
00035 #define DSOLOCAL
00036 #elif defined(__OS2__)
00037 #ifdef BUILDING_DLL
00038 #define DSOEXPORT __declspec(dllexport)
00039 #else
00040
00041 #define DSOEXPORT // __declspec(dllimport)
00042 #endif
00043
00044 #define DSOLOCAL
00045
00046 #else
00047 #ifdef HAVE_GNUC_VISIBILITY
00048 #define DSOEXPORT __attribute__ ((visibility("default")))
00049 #define DSOLOCAL __attribute__ ((visibility("hidden")))
00050 #elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550)
00051 #define DSOEXPORT __global
00052 #define DSOLOCAL __hidden
00053 #else
00054 #define DSOEXPORT
00055 #define DSOLOCAL
00056 #endif
00057 #endif
00058
00059 #endif // DSODEFS_H