|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2003-06-12 13:03 UTC] barryn at baptisthealth dot net
Description: ------------ Compiling with these switches: ./configure --prefix=/opt/php --with-nsapi=/opt/netscape --with-oci8 --enable-dbase --enable-filepro --enable-ftp --enable-sysvsem --enable-sysvshm --with-zlib --with-jpeg-dir=/opt/sfw --with-png-dir=/opt/sfw --with-gdbm --with-gd --with-imap --with-mysql --enable-sigchild --enable-libgcc --with-cpdflib --with-flatfile on Solaris 8 resulted in T being undefined when compiling php_imap.c Imap version info: * Program: Interactive Mail Access Protocol 4rev1 (IMAP4R1) routines * * Author: Mark Crispin * Networks and Distributed Computing * Computing & Communications * University of Washington * Administration Building, AG-44 * Seattle, WA 98195 * Internet: MRC@CAC.Washington.EDU * * Date: 14 October 1988 * Last Edited: 14 November 2001 Reproduce code: --------------- I fixed the problem by adding: #ifndef T #define T 1 #endif after the line #define PHP_IMAP_ADDRESS_SIZE_BUF 10 in php_imap.c PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 15:00:01 2025 UTC |
It is defined, in a file php did not include. Top lines from /usr/include/mail.h /* * Program: Mailbox Access routines * * Author: Mark Crispin * Networks and Distributed Computing * Computing & Communications * University of Washington * Administration Building, AG-44 * Seattle, WA 98195 * Internet: MRC@CAC.Washington.EDU * * Date: 22 November 1989 * Last Edited: 13 November 2001 * * The IMAP toolkit provided in this Distribution is * Copyright 2001 University of Washington. * The full text of our legal notices is contained in the file called * CPYRIGHT, included with this Distribution. */ #ifndef INCMAILH #define INCMAILH 1 /* Build parameters */ #define CACHEINCREMENT 250 /* cache growth increments */ #define MAILTMPLEN 1024 /* size of a temporary buffer */ #define MAXMESSAGESIZE 65000 /* MS-DOS: maximum text buffer size * other: initial text buffer size */ #define MAXUSERFLAG 64 /* maximum length of a user flag */ #define MAXAUTHENTICATORS 8 /* maximum number of SASL authenticators */ /* These can't be changed without changing code */ #define NUSERFLAGS 30 /* maximum number of user flags */ #define BASEYEAR 1970 /* the year time began on Unix DON'T CHANGE */ /* default for unqualified addresses */ #define BADHOST ".MISSING-HOST-NAME." /* default for syntax errors in addresses */ #define ERRHOST ".SYNTAX-ERROR." /* Coddle certain compilers' 6-character symbol limitation */ #ifdef __COMPILER_KCC__ #include "shortsym.h" #endif /* Function status code */ #define NIL 0 /* convenient name */ #define T 1 /* opposite of NIL */ #define LONGT (long) 1 /* long T */ #define VOIDT (void *) "" /* void T */ /* Global and Driver Parameters */