home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / snip9707.zip / MK_FP.H < prev    next >
C/C++ Source or Header  |  1997-07-05  |  462b  |  26 lines

  1. /* +++Date last modified: 05-Jul-1997 */
  2.  
  3. /*
  4. **  MK_FP.H
  5. **
  6. **  Standard header file making sure this pesky Intel macro is defined!
  7. */
  8.  
  9. #ifndef MK_FP__H
  10. #define MK_FP__H
  11.  
  12. #include "extkword.h"
  13.  
  14. #if defined(__WATCOMC__)
  15.  #include <i86.h>
  16. #elif !defined(__PACIFIC__)
  17.  #include <dos.h>
  18. #endif
  19.  
  20. #if !defined(MK_FP)
  21.     #define MK_FP(seg,off) \
  22.       ((void FAR *)(((unsigned long)(seg) << 16)|(unsigned)(off)))
  23. #endif
  24.  
  25. #endif /* MK_FP__H */
  26.