From mint-bounce@lists.fishpool.fi Fri Mar 6 04:50:28 2009 Date: Fri, 6 Mar 2009 09:43:06 +0000 (GMT) From: David Brownlee To: =?ISO-8859-15?Q?Vincent_Rivi=E8re?= cc: mint Subject: Re: [MiNT] strptime() and __USE_XOPEN In-Reply-To: <49B007F9.1080000@freesbee.fr> Message-ID: References: <49B007F9.1080000@freesbee.fr> User-Agent: Alpine 2.00 (NEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-802769053-1236332592=:845" X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: abs@absd.org Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-802769053-1236332592=:845 Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Thu, 5 Mar 2009, Vincent Rivi=E8re wrote: > David Brownlee wrote: >> Whats the recommended way to ensure strptime() (which is >> under __USE_XOPEN) is available under MiNT? > > The answer is explained at the top of this file: > http://sparemint.org/cgi-bin/cvsweb/mintlib/include/features.h.in?rev=3D1= =2E8&content-type=3Dtext/x-cvsweb-markup > > Usually, the best way to enable all extensions is to compile with=20 > -D_GNU_SOURCE =09Great thanks! The app I have conditionally enables _GNU_SOURCE =09for __linux__ in the sourcefile that needs strptime(), so I can =09just add __MINT__ to that #if :) --0-802769053-1236332592=:845--