Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:16998 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 62292 invoked by uid 1010); 29 Jun 2005 13:01:12 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 62276 invoked from network); 29 Jun 2005 13:01:12 -0000 Received: from unknown (HELO pb1.pair.com) (127.0.0.1) by localhost with SMTP; 29 Jun 2005 13:01:12 -0000 X-Host-Fingerprint: 66.111.4.25 out1.smtp.messagingengine.com Received: from ([66.111.4.25:49071] helo=out1.smtp.messagingengine.com) by pb1.pair.com (ecelerity 1.2 r(5656M)) with SMTP id CF/2F-00424-80B92C24 for ; Wed, 29 Jun 2005 08:58:48 -0400 Received: from web2.messagingengine.com (web2.internal [10.202.2.211]) by frontend1.messagingengine.com (Postfix) with ESMTP id A1130CB1087; Wed, 29 Jun 2005 08:58:42 -0400 (EDT) Received: by web2.messagingengine.com (Postfix, from userid 99) id 60FA7780; Wed, 29 Jun 2005 08:58:38 -0400 (EDT) Message-ID: <1120049918.17574.237402678@webmail.messagingengine.com> X-Sasl-Enc: E7/hoT4iTluUYPs33hk6HlHZsCiz7GjEWA5eS7HEPYAD 1120049918 To: derick@php.net Cc: internals@lists.php.net Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="ISO-8859-1" MIME-Version: 1.0 X-Mailer: MIME::Lite 1.5 (F2.73; T1.001; A1.64; B3.05; Q3.03) Date: Wed, 29 Jun 2005 18:28:38 +0530 Subject: HAVE_INT32_T check in ext/date/lib/timelib_structs.h(php 5.1) From: kameshj@fastmail.fm ("Kamesh Jayachandran") Hi Derick, Who will define HAVE_INT32_T? I could see ./configure detects it and defines it in main/php_config.h. But How ext/date/lib/timelib_structs.h know about this? I could not see ext/date/lib/timelib_structs.h including main/php_config.h. #ifndef HAVE_INT32_T # if SIZEOF_INT == 4 typedef int int32_t; # elif SIZEOF_LONG == 4 typedef long int int32_t; # endif #endif My NetWare build is breaking because stdio.h which is included after the above code block also tries to define int32_t which causes a compilation error. #include this at the start of the file(ofcourse after the guard) solves the problem. P.S in Zend/zend_strtod.c also we have similar code(checking for HAVE_INT32_T) there it works because we include zend_strtod.h->zend.h>zend_config.h->mail/php_config.h), here we don't have anything of that sort. Please do the needful. With regards Kamesh Jayachandran -- http://www.fastmail.fm - A fast, anti-spam email service.