Synopsis - Cross-Reference

File: /Synopsis/Parsers/IDL/config.h
 1//
 2// Copyright (C) 2006 Stefan Seefeld
 3// All rights reserved.
 4// Licensed to the public under the terms of the GNU LGPL (>= 2),
 5// see the file COPYING for details.
 6//
 7#ifndef config_h_
 8#define config_h_
 9
10#include <acconfig.h>
11
12#define HAS_Cplusplus_Bool
13
14#if defined(SIZEOF_LONG) && (SIZEOF_LONG == 8)
15#  define HAS_LongLong
16#  define _CORBA_LONGLONG_DECL     long
17#  define _CORBA_ULONGLONG_DECL    unsigned long
18#  define _CORBA_LONGLONG_CONST(x) (x)
19
20#elif defined(SIZEOF_LONG_LONG) && (SIZEOF_LONG_LONG == 8)
21#  define HAS_LongLong
22#  define _CORBA_LONGLONG_DECL     long long
23#  define _CORBA_ULONGLONG_DECL    unsigned long long
24#  define _CORBA_LONGLONG_CONST(x) (x##LL)
25#endif
26
27
28#if defined(SIZEOF_LONG_DOUBLE) && (SIZEOF_LONG_DOUBLE == 16)
29#  define HAS_LongDouble
30#  define _CORBA_LONGDOUBLE_DECL long double
31#endif
32
33#if defined(SIZEOF_LONG_DOUBLE) && (SIZEOF_LONG_DOUBLE == 12) && defined(__i386__)
34#  define HAS_LongDouble
35#  define _CORBA_LONGDOUBLE_DECL long double
36#endif
37
38#endif