diff --git a/lang/m2/libm2/confarray.c b/lang/m2/libm2/confarray.c index 8567d7fc9..d282a270c 100644 --- a/lang/m2/libm2/confarray.c +++ b/lang/m2/libm2/confarray.c @@ -10,6 +10,11 @@ */ #include +#ifndef EM_WSIZE +#define EM_WSIZE _EM_WSIZE +#define EM_PSIZE _EM_PSIZE +#endif + #if EM_WSIZE==EM_PSIZE typedef unsigned pcnt; #else diff --git a/lang/m2/libm2/load.c b/lang/m2/libm2/load.c index 9962377a6..3ec6321b2 100644 --- a/lang/m2/libm2/load.c +++ b/lang/m2/libm2/load.c @@ -11,6 +11,11 @@ #include +#ifndef EM_WSIZE +#define EM_WSIZE _EM_WSIZE +#define EM_PSIZE _EM_PSIZE +#endif + #if EM_WSIZE==EM_PSIZE typedef unsigned pcnt; #else diff --git a/lang/m2/libm2/store.c b/lang/m2/libm2/store.c index 9de3d6328..d69aa4023 100644 --- a/lang/m2/libm2/store.c +++ b/lang/m2/libm2/store.c @@ -11,6 +11,11 @@ #include +#ifndef EM_WSIZE +#define EM_WSIZE _EM_WSIZE +#define EM_PSIZE _EM_PSIZE +#endif + #if EM_WSIZE==EM_PSIZE typedef unsigned pcnt; #else