delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/01/16/11:09:10

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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: <20050116160843.99942.qmail@web30905.mail.mud.yahoo.com>
Date: Sun, 16 Jan 2005 08:08:43 -0800 (PST)
From: Bill Priest <priestwilliaml AT yahoo DOT com>
Subject: __mode_t missing from /usr/include/cygwin/types.h
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
Note-from-DJ: This may be spam

All,
  In trying to compile splint from cvs, I ran into
the problem of __mode_t not being defined.  Linux
defines it in types.h so that is where I put it.
Splint built w/o problems after this change;
unfortunately the bug I was hoping would be fixed in
CVS wasn't :(

Unified diff follows:

diff -u types.h types.h.orig
--- types.h     2005-01-15 23:53:22.332070400 -0600
+++ types.h.orig        2004-09-04 22:17:39.001000000
-0500
@@ -183,8 +183,7 @@
 
 #ifndef __mode_t_defined
 #define __mode_t_defined
-typedef unsigned __mode_t;
-typedef __mode_t mode_t;
+typedef unsigned mode_t;
 #endif
 #endif /*__BIT_TYPES_DEFINED*/


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019