fix some stuff

This commit is contained in:
NishiOwO
2025-12-10 11:15:52 +09:00
parent 9a4c74ad93
commit 0c787264c6
3 changed files with 10 additions and 11 deletions

View File

@@ -31,7 +31,7 @@ typedef uint16_t MwU16;
typedef int8_t MwI8; typedef int8_t MwI8;
typedef uint8_t MwU8; typedef uint8_t MwU8;
#define OTHER_TYPES_DEFINED #define MW_OTHER_TYPES_DEFINED
#elif __GNUC__ > 2 #elif __GNUC__ > 2
typedef long long MwI64; typedef long long MwI64;
typedef unsigned long long MwU64; typedef unsigned long long MwU64;
@@ -48,15 +48,15 @@ typedef unsigned __int16 MwU16;
typedef __int8 MwI8; typedef __int8 MwI8;
typedef unsigned __int8 MwU8; typedef unsigned __int8 MwU8;
#define OTHER_TYPES_DEFINED #define MW_OTHER_TYPES_DEFINED
#else #else
/* out of hope */ /* out of hope */
typedef long MwI64; typedef long MwI64;
typedef unsigned long MwU64; typedef unsigned long MwU64;
#endif #endif
#ifdef OTHER_TYPES_DEFINED #ifdef MW_OTHER_TYPES_DEFINED
#undef OTHER_TYPES_DEFINED #undef MW_OTHER_TYPES_DEFINED
#else #else
typedef int MwI32; typedef int MwI32;
typedef unsigned int MwU32; typedef unsigned int MwU32;

View File

@@ -1,7 +1,6 @@
#include <Mw/Milsko.h> #include <Mw/Milsko.h>
#include "../external/stb_ds.h" #include "../external/stb_ds.h"
#include "Mw/LowLevel.h"
static void lldrawhandler(MwLL handle, void* data) { static void lldrawhandler(MwLL handle, void* data) {
MwWidget h = (MwWidget)handle->common.user; MwWidget h = (MwWidget)handle->common.user;