mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2025-12-31 06:30:52 +00:00
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@499 b9cfdab3-6d41-4d17-bbe4-086880011989
45 lines
774 B
C
45 lines
774 B
C
/* $Id$ */
|
|
/*!
|
|
* @file Mw/MachDep.h
|
|
* @brief Machine dependent headers and macros
|
|
*/
|
|
#ifndef __MW_MACHDEP_H__
|
|
#define __MW_MACHDEP_H__
|
|
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
#include <stdio.h>
|
|
#include <stdarg.h>
|
|
#include <setjmp.h>
|
|
#include <sys/types.h>
|
|
#include <assert.h>
|
|
#include <math.h>
|
|
#include <ctype.h>
|
|
#include <time.h>
|
|
#ifdef _WIN32
|
|
#include <direct.h>
|
|
#else
|
|
#include <unistd.h>
|
|
#include <pwd.h>
|
|
#include <dlfcn.h>
|
|
#include <signal.h>
|
|
#include <dirent.h>
|
|
#include <sys/stat.h>
|
|
#endif
|
|
|
|
#ifndef M_PI
|
|
#define M_PI 3.14159265
|
|
#endif
|
|
|
|
#if defined(_MILSKO) && defined(_WIN32)
|
|
#define MWDECL extern __declspec(dllexport)
|
|
#elif defined(_WIN32)
|
|
#define MWDECL extern __declspec(dllimport)
|
|
#else
|
|
#define MWDECL extern
|
|
#endif
|
|
|
|
#define MwInline static __inline
|
|
|
|
#endif
|