The macro _FAR_USE_FARFINDDATA controls whether the
PluginPanelItem structure
uses the WIN32_FIND_DATA structure
defined in the Windows API headers or the the FAR_FIND_DATA
that has the same layout but is defined in plugin.hpp.
As some compilers (for instance, Borland C++ 5.5) force 8-byte alignment for structures defined in
the Windows API headers, it is not possible to achieve the correct 2-byte alignment for the entire
PluginPanelItem structure when the
WIN32_FIND_DATA structure is used.
If the macro _FAR_USE_FARFINDDATA is not defined, the PluginPanelItem structure will be compatible with FAR Manager versions prior to FAR 1.70 beta 3 (inclusive). However, it will not be possible to correctly compile plugins with Borland C++ 5.5 without modifying the Windows API headers.
If the macro _FAR_USE_FARFINDDATA is defined, the FAR_FIND_DATA structure will be used. Then it will be compatible with all compilers, but some plugins relying on the fact that the WIN32_FIND_DATA structure is used will not compile.
Attention!