@@ -508,7 +508,7 @@ static const func_info_t func_infos[] = {
508508 F1 ("long2ip" , MAY_BE_STRING |MAY_BE_FALSE ),
509509 F1 ("getenv" , MAY_BE_STRING |MAY_BE_ARRAY |MAY_BE_ARRAY_KEY_STRING |MAY_BE_ARRAY_OF_STRING |MAY_BE_FALSE ),
510510 F1 ("getopt" , MAY_BE_ARRAY |MAY_BE_ARRAY_KEY_LONG |MAY_BE_ARRAY_KEY_STRING |MAY_BE_ARRAY_OF_STRING |MAY_BE_ARRAY_OF_ARRAY |MAY_BE_ARRAY_OF_FALSE |MAY_BE_FALSE ),
511- #if HAVE_NANOSLEEP
511+ #if defined( HAVE_NANOSLEEP )
512512 F1 ("time_nanosleep" , MAY_BE_ARRAY |MAY_BE_ARRAY_KEY_STRING |MAY_BE_ARRAY_OF_LONG |MAY_BE_BOOL ),
513513#endif
514514 F1 ("get_current_user" , MAY_BE_STRING ),
@@ -522,10 +522,10 @@ static const func_info_t func_infos[] = {
522522 F1 ("set_include_path" , MAY_BE_STRING |MAY_BE_FALSE ),
523523 F1 ("get_include_path" , MAY_BE_STRING |MAY_BE_FALSE ),
524524 F1 ("print_r" , MAY_BE_STRING |MAY_BE_BOOL ),
525- #if HAVE_GETSERVBYPORT
525+ #if defined( HAVE_GETSERVBYPORT )
526526 F1 ("getservbyport" , MAY_BE_STRING |MAY_BE_FALSE ),
527527#endif
528- #if HAVE_GETPROTOBYNUMBER
528+ #if defined( HAVE_GETPROTOBYNUMBER )
529529 F1 ("getprotobynumber" , MAY_BE_STRING |MAY_BE_FALSE ),
530530#endif
531531 F1 ("parse_ini_file" , MAY_BE_ARRAY |MAY_BE_ARRAY_KEY_LONG |MAY_BE_ARRAY_KEY_STRING |MAY_BE_ARRAY_OF_FALSE |MAY_BE_ARRAY_OF_TRUE |MAY_BE_ARRAY_OF_LONG |MAY_BE_ARRAY_OF_DOUBLE |MAY_BE_ARRAY_OF_STRING |MAY_BE_ARRAY_OF_ARRAY |MAY_BE_ARRAY_OF_NULL |MAY_BE_FALSE ),
@@ -538,7 +538,7 @@ static const func_info_t func_infos[] = {
538538#endif
539539 F1 ("get_browser" , MAY_BE_OBJECT |MAY_BE_ARRAY |MAY_BE_ARRAY_KEY_STRING |MAY_BE_ARRAY_OF_ANY |MAY_BE_FALSE ),
540540 F1 ("crypt" , MAY_BE_STRING ),
541- #if HAVE_STRPTIME
541+ #if defined( HAVE_STRPTIME )
542542 F1 ("strptime" , MAY_BE_ARRAY |MAY_BE_ARRAY_KEY_STRING |MAY_BE_ARRAY_OF_LONG |MAY_BE_ARRAY_OF_STRING |MAY_BE_FALSE ),
543543#endif
544544#if defined(HAVE_GETHOSTNAME )
@@ -547,7 +547,7 @@ static const func_info_t func_infos[] = {
547547 F1 ("gethostbyaddr" , MAY_BE_STRING |MAY_BE_FALSE ),
548548 F1 ("gethostbyname" , MAY_BE_STRING ),
549549 F1 ("gethostbynamel" , MAY_BE_ARRAY |MAY_BE_ARRAY_KEY_LONG |MAY_BE_ARRAY_OF_STRING |MAY_BE_FALSE ),
550- #if defined(PHP_WIN32 ) || HAVE_DNS_SEARCH_FUNC
550+ #if defined(PHP_WIN32 ) || defined ( HAVE_DNS_SEARCH_FUNC )
551551 F1 ("dns_get_record" , MAY_BE_ARRAY |MAY_BE_ARRAY_KEY_LONG |MAY_BE_ARRAY_OF_ARRAY |MAY_BE_FALSE ),
552552#endif
553553 F1 ("md5" , MAY_BE_STRING ),
@@ -573,7 +573,7 @@ static const func_info_t func_infos[] = {
573573 F1 ("get_html_translation_table" , MAY_BE_ARRAY |MAY_BE_ARRAY_KEY_STRING |MAY_BE_ARRAY_OF_STRING ),
574574 F1 ("bin2hex" , MAY_BE_STRING ),
575575 F1 ("hex2bin" , MAY_BE_STRING |MAY_BE_FALSE ),
576- #if HAVE_NL_LANGINFO
576+ #if defined( HAVE_NL_LANGINFO )
577577 F1 ("nl_langinfo" , MAY_BE_STRING |MAY_BE_FALSE ),
578578#endif
579579 F1 ("wordwrap" , MAY_BE_STRING ),
@@ -701,7 +701,7 @@ static const func_info_t func_infos[] = {
701701 F1 ("stream_socket_server" , MAY_BE_RESOURCE |MAY_BE_FALSE ),
702702 F1 ("stream_socket_accept" , MAY_BE_RESOURCE |MAY_BE_FALSE ),
703703 F1 ("stream_socket_recvfrom" , MAY_BE_STRING |MAY_BE_FALSE ),
704- #if HAVE_SOCKETPAIR
704+ #if defined( HAVE_SOCKETPAIR )
705705 F1 ("stream_socket_pair" , MAY_BE_ARRAY |MAY_BE_ARRAY_KEY_LONG |MAY_BE_ARRAY_OF_RESOURCE |MAY_BE_FALSE ),
706706#endif
707707 F1 ("stream_get_contents" , MAY_BE_STRING |MAY_BE_FALSE ),
0 commit comments