Fix gcc warnings.  If NAME_MAX is 255, and d_namlen is a uint8_t, then d_namlen can never be > NAME_MAX.  Stop gcc worrying about this by using a preprocessor test to see if NAME_MAX changes.
Fix gcc warnings.  If NAME_MAX is 255, and d_namlen is a uint8_t, then
d_namlen can never be > NAME_MAX.  Stop gcc worrying about this by
using a preprocessor test to see if NAME_MAX changes.

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