Jean le Roux writes: >... >//this is where i include the header that make life hard :) > >#ifdef HAVE_WINDOWS_H >#include <windows.h> >#endif > >... > >//this is where the errors occur. >/*other*/
#ifndef max // or #ifndef _WIN32 >int max(const int value_a, const int value_b); //line 283 >int min(const int value_a, const int value_b); //line 284 #endif Norman -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/