MFC: 1.317, 1.318, 1.319  Fix bit macros to work on multi-byte types
MFC: 1.317, 1.318, 1.319
 Fix bit macros to work on multi-byte types

Approved by: re(kensmith)

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase