Removed std::find ambiguity
Removed redundant label not_a_macro
Removed redundant label out_of_here
Remove unused variable
Remove unused variable
Fixed signed/unsigned mismatch
Removed macros, made behaviour sane and removed a lot of warnings
Fixed window_get_fullscreen() missing from platforms_mandatory
Merge pull request #512 from kvanberendonck/master

Fix compiler warnings and OSX build failure.

My only reservation is that I prefer the ifs be in the macro to save lines in the actual function bodies, and to be preprocessed away regardless of optimization. As of now, that isn't a big concern, so I'm merging this.