MK_FP( ) not support on QNX How to slove it problem

main ()
long far *x;
x = (long *)MK_FP (BASE_AD, 0x0804);

MK_PF( ) is not supported by QNX6 . How to slove it the problem?


Check out mmap_*() functions

I remember MK_PF (make a far pointer) is a macro in the old 16 bit days. I don’t think it is still needed for a true 32 bit OS like QNX6. If you really want it, you can probably take a look at the old header file to find out the #define MK_PF