2025-09-29 00:06:16 +00:00
|
|
|
/* $Id$ */
|
2025-09-30 13:04:40 +00:00
|
|
|
/*!
|
|
|
|
|
* %file Mw/MachDep.h
|
2025-10-01 15:55:53 +00:00
|
|
|
* %brief Machine dependent headers and macros
|
2025-09-30 13:04:40 +00:00
|
|
|
*/
|
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-10-04 17:28:33 +00:00
|
|
|
#include <math.h>
|
2025-10-08 18:03:46 +00:00
|
|
|
#include <ctype.h>
|
2025-10-01 11:16:38 +00:00
|
|
|
#ifndef _WIN32
|
2025-09-29 00:06:16 +00:00
|
|
|
#include <unistd.h>
|
2025-09-30 00:52:43 +00:00
|
|
|
#include <sys/ipc.h>
|
|
|
|
|
#include <sys/shm.h>
|
2025-10-01 06:42:52 +00:00
|
|
|
#include <dlfcn.h>
|
2025-10-04 12:33:26 +00:00
|
|
|
#include <signal.h>
|
2025-09-29 00:06:16 +00:00
|
|
|
#endif
|
|
|
|
|
|
2025-10-08 11:15:48 +00:00
|
|
|
#ifndef M_PI
|
|
|
|
|
#define M_PI 3.14159265
|
|
|
|
|
#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
|