]> git.sesse.net Git - vlc/blob - src/version.c
Upnp: remove trailing space
[vlc] / src / version.c
1 /*****************************************************************************
2  * version.c: LibVLC version infos
3  *****************************************************************************
4  * Copyright (C) 1998-2008 VLC authors and VideoLAN
5  *
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 <rem # videolan : org>
11  *
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.
16  *
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.
21  *
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  *****************************************************************************/
26
27 #ifdef HAVE_CONFIG_H
28 # include "config.h"
29 #endif
30
31 #include <vlc_common.h>
32
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 ;                                                      \
41 }
42
43 DECLARE_VLC_VERSION( CompileBy, COMPILE_BY )
44 DECLARE_VLC_VERSION( CompileHost, COMPILE_HOST )
45 DECLARE_VLC_VERSION( Compiler, COMPILER )