platform.h File Reference

Basic types for the platform. More...

#include <sys/types.h>
#include <inttypes.h>

Go to the source code of this file.
#define U_HAVE_INT8_T   1
 Determines whether specific types are available.
#define U_HAVE_UINT8_T   1
 Determines whether specific types are available.
#define U_HAVE_INT16_T   1
 Determines whether specific types are available.
#define U_HAVE_UINT16_T   1
 Determines whether specific types are available.
#define U_HAVE_INT32_T   1
 Determines whether specific types are available.
#define U_HAVE_UINT32_T   1
 Determines whether specific types are available.
#define U_HAVE_INT64_T   1
 Determines whether specific types are available.
#define U_HAVE_UINT64_T   1
 Determines whether specific types are available.
#define U_HAVE_NAMESPACE   1
 Generic data types Compiler and environment features.
#define U_IS_BIG_ENDIAN   0
 Generic data types Compiler and environment features.
#define ICU_USE_THREADS   1
 Generic data types Compiler and environment features.
#define U_DEBUG   0
 Generic data types Compiler and environment features.
#define U_RELEASE   1
 Generic data types Compiler and environment features.
#define U_DISABLE_RENAMING   0
 Generic data types Compiler and environment features.
#define U_OVERRIDE_CXX_ALLOCATION   1
 Generic data types Compiler and environment features.
#define U_HAVE_PLACEMENT_NEW   1
 Generic data types Compiler and environment features.
#define U_ENABLE_TRACING   0
 Generic data types Compiler and environment features.
#define U_DEFAULT_SHOW_DRAFT   1
 Generic data types Compiler and environment features.
#define U_HAVE_LIB_SUFFIX   0
 Generic data types Compiler and environment features.
#define U_LIB_SUFFIX_C_NAME
 Generic data types Compiler and environment features.
#define U_LIB_SUFFIX_C_NAME_STRING   ""
 Generic data types Compiler and environment features.
#define U_HAVE_WCHAR_H   1
 Character data types Information about wchar support.
#define U_SIZEOF_WCHAR_T   4
 Character data types Information about wchar support.
#define U_HAVE_WCSCPY   1
 Character data types Information about wchar support.
#define U_HAVE_NL_LANGINFO_CODESET   1
 Information about POSIX support.
#define U_NL_LANGINFO_CODESET   CODESET
 Information about POSIX support.
#define U_TZSET   tzset
 Information about POSIX support.
#define U_TIMEZONE   __timezone
 Information about POSIX support.
#define U_TZNAME   tzname
 Information about POSIX support.
#define U_HAVE_MMAP   1
 Information about POSIX support.
#define U_HAVE_POPEN   1
 Information about POSIX support.
#define U_EXPORT   __attribute__((visibility("default")))
 Symbol import-export control.
#define U_EXPORT2
 Symbol import-export control.
#define U_IMPORT
 Symbol import-export control.
#define U_INLINE   __inline__
 Code alignment and C function inlining.
#define U_ALIGN_CODE(n)
 Code alignment and C function inlining.
#define U_MAKE   "/usr/bin/gmake"
 What program to execute to run 'make'.

Defines

#define U_HAVE_DIRENT_H   1
 Define whether dirent.h is available.
#define U_HAVE_INTTYPES_H   1
 Define whether inttypes.h is available.
#define U_IOSTREAM_SOURCE   199711
 Define what support for C++ streams is available.
#define U_HAVE_STD_STRING   1
 Define whether the standard C++ (STL) <string> header is available.


Detailed Description

Basic types for the platform.

Definition in file platform.h.


Define Documentation

#define U_HAVE_STD_STRING   1

Define whether the standard C++ (STL) <string> header is available.

For platforms that do not use platform.h and do not define this constant in their platform-specific headers, std_string.h defaults U_HAVE_STD_STRING to 1.

Draft:
This API may be changed in the future versions and was introduced in ICU 4.2

Definition at line 71 of file platform.h.

#define U_IOSTREAM_SOURCE   199711

Define what support for C++ streams is available.

If U_IOSTREAM_SOURCE is set to 199711, then <iostream> is available (1997711 is the date the ISO/IEC C++ FDIS was published), and then one should qualify streams using the std namespace in ICU header files. If U_IOSTREAM_SOURCE is set to 198506, then <iostream.h> is available instead (198506 is the date when Stroustrup published "An Extensible I/O Facility for C++" at the summer USENIX conference). If U_IOSTREAM_SOURCE is 0, then C++ streams are not available and support for them will be silently suppressed in ICU.

Definition at line 59 of file platform.h.


Generated on 21 Jul 2013 for ICU 4.2.1 by  doxygen 1.4.7