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 Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Tue, 26 Aug 2003 22:55:45 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: how can i use my own func in stdio.a?,such as printf Message-ID: <20030827025544.GA24692@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i On Wed, Aug 27, 2003 at 10:09:37AM +0800, zhao mindong wrote: >i want to use my own printf,but i must use the other function declared >in stdio.h,there is always an error"previous defined",how can i solve >the problem. Either you define your printf exactly the same way it is declared in stdio.h or you: #define printf BLAH_printf #include #undef printf >another question,how can i build the cygwin1.dll?any reference or >document here? Check the FAQ. -- Please use the resources at cygwin.com rather than sending personal email. Special for spam email harvesters: send email to aaaspam AT sourceware DOT org and be permanently blocked from mailing lists at sources.redhat.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/