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 Message-ID: <3DF7FE42.29FCA9C1@mvista.com> Date: Wed, 11 Dec 2002 19:10:58 -0800 From: Michael Eager Organization: MontaVista Software, Inc. X-Accept-Language: en MIME-Version: 1.0 To: Cygwin Mailing List Subject: MS_types and addr_t name polution Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I'm porting a small program to Cygwin. One of the typedefs in the program is for a symbol named addr_t. Since this is defined in /usr/include/sys/types.h, there is a redefinition conflict. This (and a number of other symbols) are defined when __MS_types_ is defined, which, in turn, is defined whenever __CYGWIN__, _WIN32 or __MSDOS__ is defined. I don't see any use of addr_t in /usr/include. Is there a reason for defining addr_t and the other symbols? -- Michael Eager eager AT mvista DOT com 408-328-8426 MontaVista Software, Inc. 1237 E. Arques Ave., Sunnyvale, CA 94085 -- 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/