From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel,gmane.comp.lib.gnulib.bugs Subject: Re: [Jim Meyering] Re: [Bug-gnulib] strftime merge from Emacs Date: 10 Jun 2003 23:51:46 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <3EE0960C.3020903@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1055285429 24482 80.91.224.249 (10 Jun 2003 22:50:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 10 Jun 2003 22:50:29 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Jun 11 00:50:26 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19PrwL-0006LA-00 for ; Wed, 11 Jun 2003 00:50:05 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19PsH2-0001N9-00 for ; Wed, 11 Jun 2003 01:11:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19PryW-00016G-Od for emacs-devel@quimby.gnus.org; Tue, 10 Jun 2003 18:52:20 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19Pry6-00015k-G8 for emacs-devel@gnu.org; Tue, 10 Jun 2003 18:51:54 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19Pry5-00015L-7j for emacs-devel@gnu.org; Tue, 10 Jun 2003 18:51:53 -0400 Original-Received: from server0011.freedom2surf.net ([194.106.56.14] helo=server0027.freedom2surf.net) by monty-python.gnu.org with esmtp (Exim 4.20) id 19Pry4-000159-PZ; Tue, 10 Jun 2003 18:51:52 -0400 Original-Received: from wanchan.jasonr.f2s.com ([195.137.103.251]) h5AMpoPW020529; Tue, 10 Jun 2003 22:51:51 GMT Original-Received: from NYAUMO (nyaumo.jasonr.f2s.com [10.0.0.27]) by wanchan.jasonr.f2s.com (Postfix) with ESMTP id 5A332DDEC3; Tue, 10 Jun 2003 23:51:50 +0100 (BST) Original-To: Dave Love In-Reply-To: Original-Lines: 17 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Original-cc: bug-gnulib@gnu.org Original-cc: andrewi@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:15009 gmane.comp.lib.gnulib.bugs:516 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:15009 Dave Love writes: > Jason Rumney writes: > > > An alternative would be to > > use configure tests to detect when tzname[] is not declared by > > or , and only declare it in that case. > > As I said, there already is such a test, and the Windows port defines > HAVE_TZNAME (which is one of the things the autoconf test does). > Should it not do so? If HAVE_TZNAME means what I think it does, then the Windows port should define it. The problem in this case is that the declaration in strftime.c conflicts with the one in when built with MingW32, because of the fact that tzname[] actually resides within a shared library, so its method of dereferencing is not normal.