chore: initialize Python Win9x port workspace

This commit is contained in:
Hermes Agent
2026-08-17 03:41:21 +00:00
commit 5d53a62948
4 changed files with 183 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
#ifndef PYTHON_WIN9X_MSVC600_INTTYPES_H
#define PYTHON_WIN9X_MSVC600_INTTYPES_H
/* Minimal C99 integer-format compatibility for MSVC 6.0. */
typedef signed char int8_t;
typedef unsigned char uint8_t;
typedef short int16_t;
typedef unsigned short uint16_t;
typedef long int32_t;
typedef unsigned long uint32_t;
typedef __int64 int64_t;
typedef unsigned __int64 uint64_t;
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef signed char int_least8_t;
typedef unsigned char uint_least8_t;
typedef short int_least16_t;
typedef unsigned short uint_least16_t;
typedef long int_least32_t;
typedef unsigned long uint_least32_t;
typedef __int64 int_least64_t;
typedef unsigned __int64 uint_least64_t;
#define PRId32 "ld"
#define PRIu32 "lu"
#define PRIx32 "lx"
#define PRIX32 "lX"
#define PRId64 "I64d"
#define PRIu64 "I64u"
#define PRIx64 "I64x"
#define PRIX64 "I64X"
#endif