Define min and max macros for C++ compilation.
Fix compiler warnings.
Fix : redefinition of min and max functions
Better UNUSED macro
Fix UNUSED macro
Merge pull request #6 from Choups314/master

Fix compilation for Linux