1
0
mirror of https://github.com/stargieg/bacnet-stack synced 2025-10-26 23:35:52 +08:00
bacnet-stack/ports/dos/mk_fp.h
2013-03-21 22:53:31 +01:00

24 lines
389 B
C

/*
** MK_FP.H
**
** Standard header file making sure this pesky Intel macro is defined!
*/
#ifndef MK_FP__H
#define MK_FP__H
#include "extkword.h"
#if defined(__WATCOMC__)
#include <i86.h>
#elif !defined(__PACIFIC__)
#include <dos.h>
#endif
#if !defined(MK_FP)
#define MK_FP(seg,off) \
((void FAR *)(((unsigned long)(seg) << 16)|(unsigned)(off)))
#endif
#endif /* MK_FP__H */