1 // © 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
3 /*
4 ******************************************************************************
5 *
6 *   Copyright (C) 1997-2014, International Business Machines
7 *   Corporation and others.  All Rights Reserved.
8 *
9 ******************************************************************************
10 *
11 *  FILE NAME : putil.h
12 *
13 *   Date        Name        Description
14 *   05/14/98    nos         Creation (content moved here from utypes.h).
15 *   06/17/99    erm         Added IEEE_754
16 *   07/22/98    stephen     Added IEEEremainder, max, min, trunc
17 *   08/13/98    stephen     Added isNegativeInfinity, isPositiveInfinity
18 *   08/24/98    stephen     Added longBitsFromDouble
19 *   03/02/99    stephen     Removed openFile().  Added AS400 support.
20 *   04/15/99    stephen     Converted to C
21 *   11/15/99    helena      Integrated S/390 changes for IEEE support.
22 *   01/11/00    helena      Added u_getVersion.
23 ******************************************************************************
24 */
25 
26 #ifndef PUTIL_H
27 #define PUTIL_H
28 
29 #include "unicode/utypes.h"
30  /**
31   * @addtogroup icu4c ICU4C
32   * @{
33   * \file
34   * \brief C API: Platform Utilities
35   */
36 
37 /*==========================================================================*/
38 /* Platform utilities                                                       */
39 /*==========================================================================*/
40 
41 /**
42  * Platform utilities isolates the platform dependencies of the
43  * library.  For each platform which this code is ported to, these
44  * functions may have to be re-implemented.
45  */
46 
47 
48 
49 
50 
51 
52 #ifndef U_HIDE_INTERNAL_API
53 
54 
55 
56 #endif  /* U_HIDE_INTERNAL_API */
57 
58 
59 #if U_PLATFORM_USES_ONLY_WIN32_API
60 #   define U_FILE_SEP_CHAR '\\'
61 #   define U_FILE_ALT_SEP_CHAR '/'
62 #   define U_PATH_SEP_CHAR ';'
63 #   define U_FILE_SEP_STRING "\\"
64 #   define U_FILE_ALT_SEP_STRING "/"
65 #   define U_PATH_SEP_STRING ";"
66 #else
67 #   define U_FILE_SEP_CHAR '/'
68 #   define U_FILE_ALT_SEP_CHAR '/'
69 #   define U_PATH_SEP_CHAR ':'
70 #   define U_FILE_SEP_STRING "/"
71 #   define U_FILE_ALT_SEP_STRING "/"
72 #   define U_PATH_SEP_STRING ":"
73 #endif
74 
75 
76 
77 
78 
79 
80 #endif
81 
82 /** @} */ // addtogroup
83