X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=include%2Fvlc_common.h;h=a741bfa2467ab35ccebce4019ef70577c8c9b871;hb=6ee1e193fd896ab9a4729fde14f009d9ce629815;hp=55eceee91896cd325fccae400829b6059de38291;hpb=3305b049e7f587b23359a1c9047fb5763d19c1dc;p=vlc diff --git a/include/vlc_common.h b/include/vlc_common.h index 55eceee918..a741bfa246 100644 --- a/include/vlc_common.h +++ b/include/vlc_common.h @@ -490,13 +490,13 @@ typedef int ( * vlc_callback_t ) ( vlc_object_t *, /* variable's object */ #if defined (WIN32) && defined (DLL_EXPORT) # ifdef __cplusplus -# define VLC_PUBLIC_API __declspec(dllexport) -# define VLC_PRIVATE_API __declspec(dllexport) +# define VLC_PUBLIC_API __declspec(dllexport) +# define VLC_PRIVATE_API __declspec(dllexport) # define VLC_EXPORT( type, name, args ) extern "C" __declspec(dllexport) type name args # define VLC_INTERNAL( type, name, args ) extern "C" type name args # else -# define VLC_PUBLIC_API extern __declspec(dllexport) -# define VLC_PRIVATE_API extern __declspec(dllexport) +# define VLC_PUBLIC_API extern __declspec(dllexport) +# define VLC_PRIVATE_API extern __declspec(dllexport) # define VLC_EXPORT( type, name, args ) __declspec(dllexport) type name args # define VLC_INTERNAL( type, name, args ) type name args # endif @@ -519,7 +519,7 @@ typedef int ( * vlc_callback_t ) ( vlc_object_t *, /* variable's object */ # define VLC_EXPORT( type, name, args ) __attribute__((visibility("default"))) type name args # define VLC_INTERNAL( type, name, args ) __attribute__((visibility("hidden"))) type name args # else -# define VLC_PUBLIC_API extern +# define VLC_PUBLIC_API extern # define VLC_PRIVATE_API extern # define VLC_EXPORT( type, name, args ) type name args # define VLC_INTERNAL( type, name, args ) type name args