Work on FreeBSD CMake port. From https://github.com/Adwelean/Adwelean-Server/commit/699de1fd285cc97705b403840caf23d54f018789
Thanks @Adwelean

Signed-off-by: Kevin <kevainxxx@gmail.com>
Find MySQL headers/libs on FreeBSD. Thanks @Adwelean

Signed-off-by: Kevin <kevainxxx@gmail.com>
Fix last commit.

Signed-off-by: Kevin <kevainxxx@gmail.com>
Fix for compile with Clang. Thanks @Adwelean

Signed-off-by: Kevin <kevainxxx@gmail.com>
Add LibDevils libs for unix compilation. (Must be tested)
We don't want to use typeof and itertype anymore. It's not good practice. Part 1 of code refactoring still a lot of errors.
Iterator changes part 2.
Fix FALSE/TRUE
Last commit++
Iterator changes last part.
Clean stuff.
Fix compile.
Fix FreeBSD compile.
Small compile fix. But actually we should use only boost unordered_map and set.
Thanks @Adwelean
Signed-off-by: Kevin <kevainxxx@gmail.com>
Few FreeBSD compile fix.
Fix FreeBSD compile.

Signed-off-by: Kevin <kevainxxx@gmail.com>
Update master from enhanceMT/Server @KevinSupertramp