2025-09-29 00:06:16 +00:00
|
|
|
/* $Id$ */
|
2025-09-30 13:04:40 +00:00
|
|
|
/*!
|
|
|
|
|
* %file Mw/MachDep.h
|
|
|
|
|
* %param Machine dependent headers and macros
|
|
|
|
|
*/
|
2025-09-29 00:06:16 +00:00
|
|
|
#ifndef __MW_MACHDEP_H__
|
|
|
|
|
#define __MW_MACHDEP_H__
|
|
|
|
|
|
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
#include <string.h>
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
#include <stdarg.h>
|
2025-09-30 03:14:02 +00:00
|
|
|
#include <setjmp.h>
|
2025-10-01 05:59:53 +00:00
|
|
|
#include <sys/types.h>
|
|
|
|
|
#include <assert.h>
|
2025-09-29 00:06:16 +00:00
|
|
|
#ifdef _WIN32
|
|
|
|
|
#include <windows.h>
|
|
|
|
|
#else
|
|
|
|
|
#include <unistd.h>
|
2025-09-30 00:52:43 +00:00
|
|
|
#include <sys/ipc.h>
|
|
|
|
|
#include <sys/shm.h>
|
2025-09-29 00:06:16 +00:00
|
|
|
#endif
|
|
|
|
|
|
2025-09-29 04:11:24 +00:00
|
|
|
#if defined(_MILSKO) && defined(_WIN32)
|
2025-09-29 00:06:16 +00:00
|
|
|
#define MWDECL extern __declspec(dllexport)
|
|
|
|
|
#elif defined(_WIN32)
|
|
|
|
|
#define MWDECL extern __declspec(dllimport)
|
|
|
|
|
#else
|
|
|
|
|
#define MWDECL extern
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#endif
|