Commit 69a41d29 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

include/vlc/* cannot depend on config.h, hence cannot use HAVE_* macros

parent dd3df1a7
...@@ -36,10 +36,6 @@ ...@@ -36,10 +36,6 @@
#ifndef _VLC_VLC_H #ifndef _VLC_VLC_H
#define _VLC_VLC_H 1 #define _VLC_VLC_H 1
# ifdef __cplusplus
extern "C" {
# endif
/***************************************************************************** /*****************************************************************************
* Our custom types * Our custom types
*****************************************************************************/ *****************************************************************************/
...@@ -160,12 +156,14 @@ struct vlc_list_t ...@@ -160,12 +156,14 @@ struct vlc_list_t
*****************************************************************************/ *****************************************************************************/
#if defined(WIN32) && defined(DLL_EXPORT) #if defined(WIN32) && defined(DLL_EXPORT)
# define VLC_PUBLIC_API extern __declspec(dllexport) # define VLC_PUBLIC_API extern __declspec(dllexport)
#elif HAVE_ATTRIBUTE_VISIBILITY
# define VLC_PUBLIC_API extern __attribute__((visibility("default")))
#else #else
# define VLC_PUBLIC_API extern # define VLC_PUBLIC_API
#endif #endif
# ifdef __cplusplus
extern "C" {
# endif
/***************************************************************************** /*****************************************************************************
* Exported libvlc API * Exported libvlc API
*****************************************************************************/ *****************************************************************************/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment