-
Notifications
You must be signed in to change notification settings - Fork 3
/
acconfig.h
105 lines (85 loc) · 2.9 KB
/
acconfig.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
/*
** This file has been automatically generated by 'acconfig' from aclocal.m4
** Copyright (C) 1988 Eleftherios Gkioulekas <[email protected]>
**
** This file is free software; as a special exception the author gives
** unlimited permission to copy and/or distribute it, with or without
** modifications, as long as this notice is preserved.
**
** This program is distributed in the hope that it will be useful, but
** WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
** implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*/
/* This is the top section */
@TOP@
/* This is the template section */
/* These are standard for all packages using Automake */
#undef PACKAGE
#undef VERSION
/* And now the rest of the boys */
#undef CXX_HAS_BUGGY_FOR_LOOPS
#undef CXX_HAS_NO_BOOL
#undef ID3_ENABLE_DEBUG
#undef ID3_DISABLE_ASSERT
#undef ID3_DISABLE_CHECKS
#undef ID3_ICONV_FORMAT_UTF16BE
#undef ID3_ICONV_FORMAT_UTF16
#undef ID3_ICONV_FORMAT_UTF8
#undef ID3_ICONV_FORMAT_ASCII
/* config.h defines these preprocesser symbols to be used by id3lib for
* determining internal versioning information. The intent is that these
* macros will be made available in the library via constants, functions,
* or static methods.
*/
#undef HAVE_ZLIB
#undef HAVE_GETOPT_LONG
#undef _ID3LIB_NAME
#undef _ID3LIB_VERSION
#undef _ID3LIB_FULLNAME
#undef _ID3LIB_MAJOR_VERSION
#undef _ID3LIB_MINOR_VERSION
#undef _ID3LIB_PATCH_VERSION
#undef _ID3LIB_INTERFACE_AGE
#undef _ID3LIB_BINARY_AGE
#undef _ID3_COMPILED_WITH_DEBUGGING
/* */
@BOTTOM@
/* This is the bottom section */
// This file defines portability work-arounds for various proprietory
// C++ compilers
// Workaround for compilers with buggy for-loop scoping
// That's quite a few compilers actually including recent versions of
// Dec Alpha cxx, HP-UX CC and SGI CC.
// The trivial "if" statement provides the correct scoping to the
// for loop
#ifdef CXX_HAS_BUGGY_FOR_LOOPS
#undef for
#define for if(1) for
#endif
//
// If the C++ compiler we use doesn't have bool, then
// the following is a near-perfect work-around.
// You must make sure your code does not depend on "int" and "bool"
// being two different types, in overloading for instance.
//
#ifdef CXX_HAS_NO_BOOL
#define bool int
#define true 1
#define false 0
#endif
#if defined (ID3_ENABLE_DEBUG) && defined (HAVE_LIBCW_SYS_H) && defined (__cplusplus)
#define DEBUG
#include <libcw/sys.h>
#include <libcw/debug.h>
#define ID3D_INIT_DOUT() Debug( libcw_do.on() )
#define ID3D_INIT_WARNING() Debug( dc::warning.on() )
#define ID3D_INIT_NOTICE() Debug( dc::notice.on() )
#define ID3D_NOTICE(x) Dout( dc::notice, x )
#define ID3D_WARNING(x) Dout( dc::warning, x )
#else
# define ID3D_INIT_DOUT()
# define ID3D_INIT_WARNING()
# define ID3D_INIT_NOTICE()
# define ID3D_NOTICE(x)
# define ID3D_WARNING(x)
#endif /* defined (ID3_ENABLE_DEBUG) && defined (HAVE_LIBCW_SYS_H) */