INCOMPAT_USES_TRAPS

Previous Incompatibility Information Next

If your program is a TSR that hooks a trap (see SetIntVec), you should write

#define INCOMPAT_USES_TRAPS
at the top of at least one source file, before including any header file from the TIGCC Library. If this directive is not used, a shell might automatically restore the hooked trap, rendering the TSR useless. Or it might even just free other resources allocated by the program, causing a crash.


See also: INCOMPAT_USES_VECTORS