]> git.sesse.net Git - vlc/blobdiff - src/misc/objects.c
* Fix non linux compilation round 2.
[vlc] / src / misc / objects.c
index 2ce0126ef4f8d3de1a3b019d12cf6ccc93b785a9..2884fadb72d6293b8d9b988596451b74b4db70bf 100644 (file)
@@ -1370,3 +1370,11 @@ static void ListChildren( vlc_list_t *p_list, vlc_object_t *p_this, int i_type )
         }
     }
 }
+
+
+#if defined( WIN32 ) || defined( SYS_BEOS ) || defined( __APPLE__ )
+const char *vlc_path( vlc_object_t *p_this )
+{
+    return vlc_global( p_this )->psz_vlcpath;
+}
+#endif