From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] system-type cygwin with window-system w32 Date: Mon, 18 Jul 2011 19:19:51 +0300 Message-ID: <83sjq37e8o.fsf@gnu.org> References: <4E2377E2.1020804@gmail.com> <4E23D2BF.7080309@gmail.com> <4E240683.3030604@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1311010786 7916 80.91.229.12 (18 Jul 2011 17:39:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 18 Jul 2011 17:39:46 +0000 (UTC) Cc: emacs-devel@gnu.org To: Daniel Colascione Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 18 19:39:42 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QirnB-0002LF-Ap for ged-emacs-devel@m.gmane.org; Mon, 18 Jul 2011 19:39:41 +0200 Original-Received: from localhost ([::1]:38036 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QirnA-0001hO-CK for ged-emacs-devel@m.gmane.org; Mon, 18 Jul 2011 13:39:40 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:42999) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QiqY1-0004Wb-Eu for emacs-devel@gnu.org; Mon, 18 Jul 2011 12:20:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QiqXx-0006bL-CH for emacs-devel@gnu.org; Mon, 18 Jul 2011 12:19:57 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:45260) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QiqXw-0006bC-NJ for emacs-devel@gnu.org; Mon, 18 Jul 2011 12:19:53 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LOJ00I00EMM4300@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Mon, 18 Jul 2011 19:19:50 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.229.133.66]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LOJ00I8YEP24600@a-mtaout22.012.net.il>; Mon, 18 Jul 2011 19:19:50 +0300 (IDT) In-reply-to: <4E240683.3030604@gmail.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.172 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:142121 Archived-At: > Date: Mon, 18 Jul 2011 03:10:11 -0700 > From: Daniel Colascione > CC: emacs-devel@gnu.org > > On 7/18/11 1:53 AM, Eli Zaretskii wrote: > >> S_ISCTG and such aren't being defined under Cygwin, causing compilation > >> errors. There's probably a better way to deal with the underlying problem. > > > > Yes, the files in lib/sys_stat.in.h is supposed to do that already. > > I'm curious why it didn't work for you. > > I didn't look into why it didn't work. Please do. This works even in the DOS build, so it surely should for Cygwin. > I can do some investigation, but I'm not very familiar with how > gnulib stuff actually works. Perhaps Paul Eggert could help you out here. > I'll move some code around; would you object to having > w32.c, cygw32.c, and ntw32.c and corresponding headers? How about calling the latter one ntgui.c? That's what it's about, right?