xine-lib  1.2.9
config.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2007-2017 the xine project
3  *
4  * This file is part of xine, a free video player.
5  *
6  * xine is free software; you can redistribute it and/or modify it under
7  * the terms of the GNU General Public Licence as published by the Free
8  * Software Foundation; either version 2 of the Licence, or (at your option)
9  * any later version.
10  *
11  * xine is distributed in the hope that it will be useful, but WITHOUT ANY
12  * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13  * FOR A PARTICULAR PURPOSE. See the GNU General Public Licence for more
14  * details.
15  *
16  * You should have received a copy of the GNU General Public Licence along
17  * with this program; if not, write to the Free Software Foundation, Inc.,
18  * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
19  *
20  */
21 
22 #include "configure.h"
23 
24 /* Ugly build time sanity guard.
25  * ./configure might mistake X32 mode as plain 64bit,
26  * but compiler itself sets __ILP32__ when in x32.
27  */
28 #ifdef ARCH_X86
29 # if defined(__ILP32__) && !defined(ARCH_X86_X32)
30 # ifdef ARCH_WARN
31 # warning "configure did not detect ARCH_X86_X32!"
32 # endif
33 # undef ARCH_X86_64
34 # define ARCH_X86_X32
35 # undef ARCH_X86_32
36 # elif defined(ARCH_X86_64) && defined(ARCH_X86_X32)
37 # ifdef ARCH_WARN
38 # warning "configure did set both ARCH_X86_64 and ARCH_X86_X32!"
39 # endif
40 # undef ARCH_X86_64
41 # undef ARCH_X86_32
42 # endif
43 #endif
44 
45 #include "os_internal.h"
46 
47