Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT cygwin DOT com Delivered-To: mailing list cygwin-developers AT cygwin DOT com From: "Gerald S. Williams" To: Subject: RE: Should sys/types.h include sys/sysmacros.h? Date: Thu, 23 May 2002 13:29:04 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal In-Reply-To: <20020522144856.F10218@cygbert.vinschen.de> Corinna Vinschen wrote: > if !_POSIX_THREADS || __CYGWIN__ > so it's always included when building under Cygwin. My mistake. Sorry for the confusion--I missed the "!" in the following: #if defined(_POSIX_THREADS) && !defined(__CYGWIN__) ...90 lines deleted... #else #if defined (__CYGWIN__) #include #endif #endif /* defined(_POSIX_THREADS) */ Its fine the way it is. Although personally, I'd find it easier to follow written like this: #if defined(_POSIX_THREADS) && !defined(__CYGWIN__) ...90 lines deleted... #endif /* defined(_POSIX_THREADS) && !defined(__CYGWIN__) */ #if defined(__CYGWIN__) #include #endif -Jerry