Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Reply-To: From: "Norman Vine" To: "'Jean le Roux'" , Subject: RE: w32api header problems Date: Wed, 9 Jan 2002 08:25:09 -0500 Message-ID: <015801c19911$1056c3e0$a300a8c0@nhv> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2232.26 In-Reply-To: <20020109142543.C20549@infosat.net> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Jean le Roux writes: >... >//this is where i include the header that make life hard :) > >#ifdef HAVE_WINDOWS_H >#include >#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/