]> git.sesse.net Git - vlc/commitdiff
vlc_common.h: VLC_EXPORT should have extern if there is no visibility support.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sun, 10 Feb 2008 01:04:07 +0000 (01:04 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sun, 10 Feb 2008 01:04:07 +0000 (01:04 +0000)
include/vlc_common.h

index b8b3087b7c7c2cb631e4f8d0dbf539b06e740adc..d2e0ffb960f9fb279201baad197f587e232f8057 100644 (file)
@@ -487,7 +487,7 @@ typedef int ( * vlc_callback_t ) ( vlc_object_t *,      /* variable's object */
 #    else
 #      define VLC_PUBLIC_API extern
 #      define VLC_PRIVATE_API extern
-#      define   VLC_EXPORT( type, name, args ) type name args
+#      define   VLC_EXPORT( type, name, args ) extern type name args
 #      define VLC_INTERNAL( type, name, args ) type name args
 #    endif
 #  endif