ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libecb/ecb.pod
(Generate patch)

Comparing libecb/ecb.pod (file contents):
Revision 1.43 by root, Tue May 29 14:09:49 2012 UTC vs.
Revision 1.44 by root, Tue May 29 14:30:44 2012 UTC

67The macro C<ECB_PTRSIZE> is defined to the size of a pointer on this 67The macro C<ECB_PTRSIZE> is defined to the size of a pointer on this
68platform (currently C<4> or C<8>). 68platform (currently C<4> or C<8>).
69 69
70=head2 LANGUAGE/COMPILER VERSIONS 70=head2 LANGUAGE/COMPILER VERSIONS
71 71
72All the following symbols expand to an expressionb that cna be tested in
73preprocessor instructions as well as treated as a boolean (use C<!!> to
74ensure it's either C<0> or C<1> if you need that).
75
72=over 4 76=over 4
73 77
78=item ECB_C
79
80True if the implementation defines the C<__STDC__> macro to a true value,
81which is typically true for both C and C++ compilers.
82
74=item ECB_C99 83=item ECB_C99
75 84
76Expands to a true value (suitable for testing in by the preprocessor)
77if the environment claims to be C99 compliant. 85True if the implementation claims to be C99 compliant.
78 86
79=item ECB_C11 87=item ECB_C11
80 88
81Expands to a true value (suitable for testing in by the preprocessor)
82if the environment claims to be C11 compliant. 89True if the implementation claims to be C11 compliant.
90
91=item ECB_CPP
92
93True if the implementation defines the C<__cplusplus__> macro to a true
94value, which is typically true for C++ compilers.
95
96=item ECB_CPP98
97
98True if the implementation claims to be compliant to ISO/IEC 14882:1998
99(the first C++ ISO standard) or any later vwersion. Typically true for all
100C++ compilers.
101
102=item ECB_CPP11
103
104True if the implementation claims to be compliant to ISO/IEC 14882:2011
105(C++11) or any later vwersion.
83 106
84=item ECB_GCC_VERSION(major,minor) 107=item ECB_GCC_VERSION(major,minor)
85 108
86Expands to a true value (suitable for testing in by the preprocessor) 109Expands to a true value (suitable for testing in by the preprocessor)
87if the compiler used is GNU C and the version is the givne version, or 110if the compiler used is GNU C and the version is the givne version, or

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines