far and near were built-in compiler keywords on 16-bit days. They no longer exist, and they no longer have any meaning, but they are still defined as macros in the Windows headers for backward compatibility reasons.
If you do not want them, simply define them (or do not include the Windows headers):
#undef far #undef near
source share