mirror of
https://github.com/stargieg/bacnet-stack
synced 2025-10-26 23:35:52 +08:00
24 lines
389 B
C
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 */
|