made compilable by the ACK ANSI C compiler
This commit is contained in:
parent
d7c15759ee
commit
1136d63929
3 changed files with 15 additions and 0 deletions
lang/m2/libm2
|
@ -10,6 +10,11 @@
|
||||||
*/
|
*/
|
||||||
#include <m2_traps.h>
|
#include <m2_traps.h>
|
||||||
|
|
||||||
|
#ifndef EM_WSIZE
|
||||||
|
#define EM_WSIZE _EM_WSIZE
|
||||||
|
#define EM_PSIZE _EM_PSIZE
|
||||||
|
#endif
|
||||||
|
|
||||||
#if EM_WSIZE==EM_PSIZE
|
#if EM_WSIZE==EM_PSIZE
|
||||||
typedef unsigned pcnt;
|
typedef unsigned pcnt;
|
||||||
#else
|
#else
|
||||||
|
|
|
@ -11,6 +11,11 @@
|
||||||
|
|
||||||
#include <m2_traps.h>
|
#include <m2_traps.h>
|
||||||
|
|
||||||
|
#ifndef EM_WSIZE
|
||||||
|
#define EM_WSIZE _EM_WSIZE
|
||||||
|
#define EM_PSIZE _EM_PSIZE
|
||||||
|
#endif
|
||||||
|
|
||||||
#if EM_WSIZE==EM_PSIZE
|
#if EM_WSIZE==EM_PSIZE
|
||||||
typedef unsigned pcnt;
|
typedef unsigned pcnt;
|
||||||
#else
|
#else
|
||||||
|
|
|
@ -11,6 +11,11 @@
|
||||||
|
|
||||||
#include <m2_traps.h>
|
#include <m2_traps.h>
|
||||||
|
|
||||||
|
#ifndef EM_WSIZE
|
||||||
|
#define EM_WSIZE _EM_WSIZE
|
||||||
|
#define EM_PSIZE _EM_PSIZE
|
||||||
|
#endif
|
||||||
|
|
||||||
#if EM_WSIZE==EM_PSIZE
|
#if EM_WSIZE==EM_PSIZE
|
||||||
typedef unsigned pcnt;
|
typedef unsigned pcnt;
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in a new issue