# pwin32.h File Reference

Configuration constants for the Windows platform. More...

Go to the source code of this file.

## Defines
#define | U_INT64_IS_LONG_LONG 1
| Define the platform we're on.
#define | U_HAVE_INTTYPES_H 0
| Define whether inttypes.h is available.
#define | U_IOSTREAM_SOURCE 199711
| Define what support for C++ streams is available.
#define | U_HAVE_NAMESPACE 1
| Compiler and environment features.
#define | U_IS_BIG_ENDIAN 0
| Determines the endianness of the platform.
#define | ICU_USE_THREADS 1
| 1 or 0 to enable or disable threads.
#define | U_DEBUG 0
| Microsoft can define _M_IX86, _M_AMD64 (before Visual Studio 8) or _M_X64 (starting in Visual Studio 8).
#define | U_RELEASE 0
| Enable or disable release options.
#define | U_DISABLE_RENAMING 1
| Determine whether to disable renaming or not.
#define | U_OVERRIDE_CXX_ALLOCATION 1
| Determine whether to override new and delete.
#define | U_HAVE_PLACEMENT_NEW 1
| Determine whether to override placement new and delete for STL.
#define | U_ENABLE_TRACING 0
| Determine whether to override new and delete for MFC.
#define | U_DEFAULT_SHOW_DRAFT 1
| Do we allow ICU users to use the draft APIs by default?
#define | U_HAVE_INT8_T U_HAVE_INTTYPES_H
#define | U_HAVE_UINT8_T U_HAVE_INTTYPES_H
#define | U_HAVE_INT16_T U_HAVE_INTTYPES_H
#define | U_HAVE_UINT16_T U_HAVE_INTTYPES_H
#define | U_HAVE_INT32_T U_HAVE_INTTYPES_H
#define | U_HAVE_UINT32_T U_HAVE_INTTYPES_H
#define | U_HAVE_INT64_T U_HAVE_INTTYPES_H
#define | U_HAVE_UINT64_T U_HAVE_INTTYPES_H
#define | U_HAVE_LIB_SUFFIX 0
#define | U_LIB_SUFFIX_C_NAME
#define | U_LIB_SUFFIX_C_NAME_STRING ""
#define | U_HAVE_WCHAR_H 1
#define | U_SIZEOF_WCHAR_T 2
#define | U_HAVE_WCSCPY 1
#define | U_DECLARE_UTF16(string) L ## string
| Do not use this macro.
#define | U_TZSET _tzset
#define | U_TIMEZONE _timezone
#define | U_TZNAME _tzname
#define | U_DAYLIGHT _daylight
#define | U_HAVE_MMAP 0
#define | U_HAVE_POPEN 0
#define | U_EXPORT __declspec(dllexport)
#define | U_EXPORT2 __cdecl
#define | U_IMPORT __declspec(dllimport)
#define | U_INLINE __inline
#define | U_ALIGN_CODE(val)
#define | U_MAKE "nmake"
| Flag for workaround of MSVC 2003 optimization bugs.
#define | U_MAKE_IS_NMAKE 1
| Flag for workaround of MSVC 2003 optimization bugs.
## Typedefs
typedef signed char | int8_t
| Define 64 bit limits.
typedef unsigned char | uint8_t
| Define 64 bit limits.
typedef signed short | int16_t
| Define 64 bit limits.
typedef unsigned short | uint16_t
| Define 64 bit limits.
typedef signed int | int32_t
| Define 64 bit limits.
typedef unsigned int | uint32_t
| Define 64 bit limits.
typedef signed long long | int64_t
| Define 64 bit limits.
typedef unsigned long long | uint64_t
| Define 64 bit limits.

## Detailed Description

Configuration constants for the Windows platform.

Definition in file pwin32.h.

## Define Documentation

#define ICU_USE_THREADS 1

1 or 0 to enable or disable threads.

If undefined, default is: enable threads.

Definition at line 184 of file pwin32.h.

#define U_ALIGN_CODE | ( | val |  | ) |

Code alignment and C function inlining

Definition at line 319 of file pwin32.h.

#define U_DAYLIGHT _daylight

Information about POSIX support

Definition at line 283 of file pwin32.h.

#define U_DEBUG 0

Microsoft can define _M_IX86, _M_AMD64 (before Visual Studio 8) or _M_X64 (starting in Visual Studio 8).

Intel can define _M_IX86 or _M_X64 Enable or disable debugging options

Definition at line 200 of file pwin32.h.

#define U_DECLARE_UTF16 | ( | string |  | ) | L ## string

Do not use this macro.

Use the UNICODE_STRING or U_STRING_DECL macros instead.

Internal:
  Do not use. This API is for internal use only.

Use the UNICODE_STRING or U_STRING_DECL macros instead.

Internal:
  Do not use. This API is for internal use only.

Definition at line 266 of file pwin32.h.

#define U_DISABLE_RENAMING 1

Determine whether to disable renaming or not.

This overrides the setting in umachine.h which is for all platforms.

Definition at line 216 of file pwin32.h.

#define U_ENABLE_TRACING 0

Determine whether to override new and delete for MFC.

Determine whether to enable tracing.

Definition at line 234 of file pwin32.h.

#define U_EXPORT __declspec(dllexport)

Symbol import-export control

Definition at line 298 of file pwin32.h.

#define U_EXPORT2 __cdecl

Symbol import-export control

Definition at line 300 of file pwin32.h.

#define U_HAVE_INT16_T U_HAVE_INTTYPES_H

Determines whether specific types are available

Definition at line 79 of file pwin32.h.

#define U_HAVE_INT32_T U_HAVE_INTTYPES_H

Determines whether specific types are available

Definition at line 87 of file pwin32.h.

#define U_HAVE_INT64_T U_HAVE_INTTYPES_H

Determines whether specific types are available

Definition at line 95 of file pwin32.h.

#define U_HAVE_INT8_T U_HAVE_INTTYPES_H

Determines whether specific types are available

Definition at line 71 of file pwin32.h.

#define U_HAVE_LIB_SUFFIX 0

Define the library suffix in a C syntax.

Definition at line 243 of file pwin32.h.

#define U_HAVE_MMAP 0

Information about POSIX support

Definition at line 286 of file pwin32.h.

#define U_HAVE_NAMESPACE 1

Compiler and environment features.

Define whether namespace is supported

Definition at line 177 of file pwin32.h.

#define U_HAVE_PLACEMENT_NEW 1

Determine whether to override placement new and delete for STL.

Definition at line 225 of file pwin32.h.

#define U_HAVE_POPEN 0

Information about POSIX support

Definition at line 287 of file pwin32.h.

#define U_HAVE_UINT16_T U_HAVE_INTTYPES_H

Determines whether specific types are available

Definition at line 83 of file pwin32.h.

#define U_HAVE_UINT32_T U_HAVE_INTTYPES_H

Determines whether specific types are available

Definition at line 91 of file pwin32.h.

#define U_HAVE_UINT64_T U_HAVE_INTTYPES_H

Determines whether specific types are available

Definition at line 99 of file pwin32.h.

#define U_HAVE_UINT8_T U_HAVE_INTTYPES_H

Determines whether specific types are available

Definition at line 75 of file pwin32.h.

#define U_HAVE_WCHAR_H 1

Information about wchar support

Definition at line 252 of file pwin32.h.

#define U_HAVE_WCSCPY 1

Information about wchar support

Definition at line 255 of file pwin32.h.

#define U_IMPORT __declspec(dllimport)

Symbol import-export control

Definition at line 301 of file pwin32.h.

#define U_INLINE __inline

Code alignment and C function inlining

Definition at line 312 of file pwin32.h.

#define U_INT64_IS_LONG_LONG 1

Define the platform we're on.

_MSC_VER is used to detect the Microsoft compiler.

Definition at line 38 of file pwin32.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 65 of file pwin32.h.

#define U_LIB_SUFFIX_C_NAME

Define the library suffix in a C syntax.

Definition at line 244 of file pwin32.h.

#define U_LIB_SUFFIX_C_NAME_STRING ""

Define the library suffix in a C syntax.

Definition at line 245 of file pwin32.h.

#define U_MAKE "nmake"

Flag for workaround of MSVC 2003 optimization bugs.

Programs used by ICU code

Definition at line 337 of file pwin32.h.

#define U_MAKE_IS_NMAKE 1

Flag for workaround of MSVC 2003 optimization bugs.

Programs used by ICU code

Definition at line 338 of file pwin32.h.

#define U_OVERRIDE_CXX_ALLOCATION 1

Determine whether to override new and delete.

Definition at line 221 of file pwin32.h.

#define U_SIZEOF_WCHAR_T 2

Information about wchar support

Definition at line 253 of file pwin32.h.

#define U_TIMEZONE _timezone

Information about POSIX support

Definition at line 277 of file pwin32.h.

#define U_TZNAME _tzname

Information about POSIX support

Definition at line 280 of file pwin32.h.

#define U_TZSET _tzset

Information about POSIX support

Definition at line 274 of file pwin32.h.

## Typedef Documentation

typedef signed short int16_t

Define 64 bit limits.

Generic data types If your platform does not have the <inttypes.h> header, you may need to edit the typedefs below.

Definition at line 135 of file pwin32.h.

typedef signed int int32_t

Define 64 bit limits.

Generic data types If your platform does not have the <inttypes.h> header, you may need to edit the typedefs below.

Definition at line 143 of file pwin32.h.

typedef signed long long int64_t

Define 64 bit limits.

Generic data types If your platform does not have the <inttypes.h> header, you may need to edit the typedefs below.

Definition at line 152 of file pwin32.h.

typedef signed char int8_t

Define 64 bit limits.

Generic data types If your platform does not have the <inttypes.h> header, you may need to edit the typedefs below.

Definition at line 127 of file pwin32.h.

typedef unsigned short uint16_t

Define 64 bit limits.

Generic data types If your platform does not have the <inttypes.h> header, you may need to edit the typedefs below.

Definition at line 139 of file pwin32.h.

typedef unsigned int uint32_t

Define 64 bit limits.

Generic data types If your platform does not have the <inttypes.h> header, you may need to edit the typedefs below.

Definition at line 147 of file pwin32.h.

typedef unsigned long long uint64_t

Define 64 bit limits.

Generic data types If your platform does not have the <inttypes.h> header, you may need to edit the typedefs below.

Definition at line 160 of file pwin32.h.

typedef unsigned char uint8_t

Define 64 bit limits.

Generic data types If your platform does not have the <inttypes.h> header, you may need to edit the typedefs below.

Definition at line 131 of file pwin32.h.