Commit 7cf7fec3 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix linking on gcc, breaks everything else

parent c2ddff0e
......@@ -36,6 +36,10 @@
#ifndef _VLC_VLC_H
#define _VLC_VLC_H 1
# ifdef __cplusplus
extern "C" {
# endif
/*****************************************************************************
* Our custom types
*****************************************************************************/
......@@ -157,13 +161,9 @@ struct vlc_list_t
#if defined(WIN32) && defined(DLL_EXPORT)
# define VLC_PUBLIC_API extern __declspec(dllexport)
#else
# define VLC_PUBLIC_API
# define VLC_PUBLIC_API extern __attribute__((visibility("default")))
#endif
# ifdef __cplusplus
extern "C" {
# endif
/*****************************************************************************
* 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