#endif
#if UINT_MAX == UINT_MAX_32_BITS
-typedef unsigned nls_uint32;
+typedef unsigned nls_SilcUInt32;
#else
# if USHRT_MAX == UINT_MAX_32_BITS
-typedef unsigned short nls_uint32;
+typedef unsigned short nls_SilcUInt32;
# else
# if ULONG_MAX == UINT_MAX_32_BITS
-typedef unsigned long nls_uint32;
+typedef unsigned long nls_SilcUInt32;
# else
/* The following line is intended to throw an error. Using #error is
not portable enough. */
struct mo_file_header
{
/* The magic number. */
- nls_uint32 magic;
+ nls_SilcUInt32 magic;
/* The revision number of the file format. */
- nls_uint32 revision;
+ nls_SilcUInt32 revision;
/* The number of strings pairs. */
- nls_uint32 nstrings;
+ nls_SilcUInt32 nstrings;
/* Offset of table with start offsets of original strings. */
- nls_uint32 orig_tab_offset;
+ nls_SilcUInt32 orig_tab_offset;
/* Offset of table with start offsets of translation strings. */
- nls_uint32 trans_tab_offset;
+ nls_SilcUInt32 trans_tab_offset;
/* Size of hashing table. */
- nls_uint32 hash_tab_size;
+ nls_SilcUInt32 hash_tab_size;
/* Offset of first hashing entry. */
- nls_uint32 hash_tab_offset;
+ nls_SilcUInt32 hash_tab_offset;
};
struct string_desc
{
/* Length of addressed string. */
- nls_uint32 length;
+ nls_SilcUInt32 length;
/* Offset of string in file. */
- nls_uint32 offset;
+ nls_SilcUInt32 offset;
};
/* @@ begin of epilog @@ */