macos: Fix build after medialibrary refactoring
[vlc.git] / src / version.c
blob5a36ef576a908b21135afc1b289bdff6758c8016
1 /*****************************************************************************
2 * version.c: LibVLC version infos
3 *****************************************************************************
4 * Copyright (C) 1998-2008 VLC authors and VideoLAN
6 * Authors: Vincent Seguin <seguin@via.ecp.fr>
7 * Samuel Hocevar <sam@zoy.org>
8 * Gildas Bazin <gbazin@videolan.org>
9 * Derk-Jan Hartman <hartman at videolan dot org>
10 * RĂ©mi Denis-Courmont
12 * This program is free software; you can redistribute it and/or modify it
13 * under the terms of the GNU Lesser General Public License as published by
14 * the Free Software Foundation; either version 2.1 of the License, or
15 * (at your option) any later version.
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU Lesser General Public License for more details.
22 * You should have received a copy of the GNU Lesser General Public License
23 * along with this program; if not, write to the Free Software Foundation,
24 * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
25 *****************************************************************************/
27 #ifdef HAVE_CONFIG_H
28 # include "config.h"
29 #endif
31 #include <vlc_common.h>
33 /*****************************************************************************
34 * VLC_CompileBy, VLC_CompileHost
35 * VLC_Compiler, VLC_Changeset
36 *****************************************************************************/
37 #define DECLARE_VLC_VERSION( func, var ) \
38 const char * VLC_##func ( void ) \
39 { \
40 return VLC_##var ; \
43 DECLARE_VLC_VERSION( CompileBy, COMPILE_BY )
44 DECLARE_VLC_VERSION( CompileHost, COMPILE_HOST )
45 DECLARE_VLC_VERSION( Compiler, COMPILER )