Also replaced the usages of `__unit64_t` and `__int64_t` with
`uint64_t` and `int64_t` respectively.
Commit migrated from https://github.com/dotnet/coreclr/commit/
453b4e92c5f37e0ca88f6e32e5cc10c124fd678d
#endif /* ALLOC_TABLE */
#if _INTEGRAL_MAX_BITS >= 64
- __uint64_t num64 = 0LL; /* temp for 64-bit integers */
+ uint64_t num64 = 0LL; /* temp for 64-bit integers */
#endif /* _INTEGRAL_MAX_BITS >= 64 */
void *pointer=NULL; /* points to user data receptacle */
void *start; /* indicate non-empty string */
} /* end of WHILE loop */
if (negative)
- num64 = (__uint64_t )(-(__int64)num64);
+ num64 = (uint64_t )(-(__int64)num64);
}
else {
#endif /* _INTEGRAL_MAX_BITS >= 64 */
assign_num:
#if _INTEGRAL_MAX_BITS >= 64
if ( integer64 )
- *(__int64 UNALIGNED *)pointer = ( __uint64_t )num64;
+ *(__int64 UNALIGNED *)pointer = ( uint64_t )num64;
else
#endif /* _INTEGRAL_MAX_BITS >= 64 */
if (longone)
/* appropriately. */
#if _INTEGRAL_MAX_BITS >= 64
- __uint64_t number; /* number to convert */
+ uint64_t number; /* number to convert */
int digit; /* ascii value of digit */
__int64 l; /* temp long value */
#else /* _INTEGRAL_MAX_BITS >= 64 */
#include <stdlib.h>
#include <locale.h>
#include <stdarg.h>
+#include <inttypes.h>
#include "internal_securecrt.h"
#include <errno.h>
#include <limits.h>
#include <stdlib.h>
+#include <inttypes.h>
#include "internal_securecrt.h"
#include "mbusafecrt_internal.h"
#if _INTEGRAL_MAX_BITS >= 64
// unsigned __int64 number; /* number to convert */
- __uint64_t number; /* number to convert */
+ uint64_t number; /* number to convert */
int digit; /* ascii value of digit */
__int64 l; /* temp long value */
#else /* _INTEGRAL_MAX_BITS >= 64 */
#include <limits.h>
#include <stdlib.h>
#include <stdarg.h>
+#include <inttypes.h>
#include "internal_securecrt.h"
#include "mbusafecrt_internal.h"
#include <stdlib.h>
#include <locale.h>
#include <stdarg.h>
-
+#include <inttypes.h>
#include "internal_securecrt.h"
#include "mbusafecrt_internal.h"
#include <limits.h>
#include <stdlib.h>
#include <stdarg.h>
+#include <inttypes.h>
#include "internal_securecrt.h"
#include "mbusafecrt_internal.h"