diff options
| author | bhgv <bhgv.empire@gmail.com> | 2018-03-02 03:36:20 +0200 |
|---|---|---|
| committer | bhgv <bhgv.empire@gmail.com> | 2018-03-02 03:36:20 +0200 |
| commit | 0e00ccc314faa6ad00e55c4a2b09adff5a8c9459 (patch) | |
| tree | 2c6f5b0f51b8a1c86fbcc5ddeb704d636aecae57 /Linux/386/include | |
| parent | 9114a6bf3780060ea5104bdff0cd6d234ffdeb2b (diff) | |
ready to build and run in Linux as a regular emu
Diffstat (limited to 'Linux/386/include')
| -rw-r--r-- | Linux/386/include/emu.h | 6 | ||||
| -rw-r--r-- | Linux/386/include/lib9.h | 5 |
2 files changed, 11 insertions, 0 deletions
diff --git a/Linux/386/include/emu.h b/Linux/386/include/emu.h index cdef342..be7381c 100644 --- a/Linux/386/include/emu.h +++ b/Linux/386/include/emu.h @@ -7,6 +7,10 @@ /* * This structure must agree with FPsave and FPrestore asm routines */ + +#ifndef _EMU_H +#define _EMU_H + typedef struct FPU FPU; struct FPU { @@ -31,3 +35,5 @@ extern Proc* getup(void); typedef sigjmp_buf osjmpbuf; #define ossetjmp(buf) sigsetjmp(buf, 1) + +#endif diff --git a/Linux/386/include/lib9.h b/Linux/386/include/lib9.h index 30808d2..263b27d 100644 --- a/Linux/386/include/lib9.h +++ b/Linux/386/include/lib9.h @@ -1,3 +1,6 @@ +#ifndef _LIB9_H +#define _LIB9_H + /* define _BSD_SOURCE to use ISO C, POSIX, and 4.3BSD things. */ #define USE_PTHREADS #ifndef _DEFAULT_SOURCE @@ -493,3 +496,5 @@ extern void setfcr(ulong); extern void setfsr(ulong); extern ulong getfcr(void); extern ulong getfsr(void); + +#endif |
