git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@38 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-09-29 00:07:42 +00:00
parent 1f0fee4df9
commit b518cee5cc
3 changed files with 6 additions and 6 deletions

View File

@@ -3,7 +3,7 @@
TARGET = $(shell uname -s) TARGET = $(shell uname -s)
CC = gcc CC = gcc
CFLAGS = -fPIC -Iinclude -D_MW CFLAGS = -fPIC -Iinclude -D_MILSKO
LDFLAGS = LDFLAGS =
LIBS = LIBS =

View File

@@ -5,7 +5,7 @@
#include <Mw/MachDep.h> #include <Mw/MachDep.h>
typedef struct _MwLLHandler *MwLLHandler, MwLLHandlerRec; typedef struct _MwLLHandler *MwLLHandler, MwLLHandlerRec;
#ifdef _MW #ifdef _MILSKO
typedef struct _MwLL * MwLL, MwLLRec; typedef struct _MwLL * MwLL, MwLLRec;
typedef struct _MwLLColor *MwLLColor, MwLLColorRec; typedef struct _MwLLColor *MwLLColor, MwLLColorRec;
#else #else
@@ -13,7 +13,7 @@ typedef void* MwLL;
typedef void* MwLLColor; typedef void* MwLLColor;
#endif #endif
#ifdef _MW #ifdef _MILSKO
#ifdef USE_X11 #ifdef USE_X11
#include <Mw/X11.h> #include <Mw/X11.h>
#endif #endif

View File

@@ -10,7 +10,7 @@ typedef struct _MwRect MwRect;
typedef struct _MwIntegerKeyValue MwIntegerKeyValue; typedef struct _MwIntegerKeyValue MwIntegerKeyValue;
typedef struct _MwTextKeyValue MwTextKeyValue; typedef struct _MwTextKeyValue MwTextKeyValue;
typedef struct _MwUserHandlerKeyValue MwUserHandlerKeyValue; typedef struct _MwUserHandlerKeyValue MwUserHandlerKeyValue;
#ifdef _MW #ifdef _MILSKO
typedef struct _MwWidget *MwWidget, MwWidgetRec; typedef struct _MwWidget *MwWidget, MwWidgetRec;
#else #else
typedef void* MwWidget; typedef void* MwWidget;
@@ -18,7 +18,7 @@ typedef void* MwWidget;
typedef void (*MwHandler)(MwWidget handle); typedef void (*MwHandler)(MwWidget handle);
typedef void (*MwUserHandler)(MwWidget handle, void* user_data, void* call_data); typedef void (*MwUserHandler)(MwWidget handle, void* user_data, void* call_data);
#ifdef _MW #ifdef _MILSKO
#include <Mw/LowLevel.h> #include <Mw/LowLevel.h>
#endif #endif
@@ -50,7 +50,7 @@ struct _MwUserHandlerKeyValue {
MwUserHandler value; MwUserHandler value;
}; };
#ifdef _MW #ifdef _MILSKO
struct _MwWidget { struct _MwWidget {
char* name; char* name;