From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: [brian.schack@usa.net: Need to define 'unix' to compile under OS X?] Date: Wed, 29 Nov 2006 22:21:05 -0500 Message-ID: Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1164857073 11348 80.91.229.2 (30 Nov 2006 03:24:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 30 Nov 2006 03:24:33 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 30 04:24:32 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GpcXH-0005mU-Jg for ged-emacs-devel@m.gmane.org; Thu, 30 Nov 2006 04:24:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GpcXH-0003hU-2O for ged-emacs-devel@m.gmane.org; Wed, 29 Nov 2006 22:24:31 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GpcTz-0008Ay-9p for emacs-devel@gnu.org; Wed, 29 Nov 2006 22:21:07 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GpcTy-0008A5-9f for emacs-devel@gnu.org; Wed, 29 Nov 2006 22:21:06 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GpcTy-00089n-3R for emacs-devel@gnu.org; Wed, 29 Nov 2006 22:21:06 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GpcTy-0006hs-1r for emacs-devel@gnu.org; Wed, 29 Nov 2006 22:21:06 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.52) id 1GpcTx-0006U6-3r; Wed, 29 Nov 2006 22:21:05 -0500 Original-To: emacs-devel@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:63098 Archived-At: Someone interested in the Mac might want to do something about this. ------- Start of forwarded message ------- To: bug-gnu-emacs@gnu.org From: Brian Schack Date: Wed, 29 Nov 2006 23:18:16 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Z-USANET-MsgId: XID159kkCPsX0431X36 Subject: Need to define 'unix' to compile under OS X? X-Spam-Status: No, score=0.1 required=5.0 tests=FORGED_RCVD_HELO autolearn=failed version=3.0.4 I'm running GNU Emacs 22.0.90.1 (i386-apple-darwin8.8.1, X toolkit), and I noticed a problem while running Gnus. Specifically, in nnmaildir-request-accept-article it makes a call to the unix-sync function. However, unix-sync is reported as undefined. It seems the problem lies in fileio.c, where unix-sync is defined. The definition of unix-sync is bracketed by #ifdef unix. My guess is that the symbol 'unix' is not defined when I compile under OS X. To test this, I reran configure as follows: % ./configure ./configure --with-x CPPFLAGS=-Dunix and things worked okay. - -- Brian Schack mailto: brian.schack@usa.net 19 X?ch?ng Street 2F phone: 2381 4727 Taipei 100 fax: 2381 2145 TAIWAN _______________________________________________ bug-gnu-emacs mailing list bug-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs ------- End of forwarded message -------