From 654b75694a30d07e39d7c6b34ea2d4130179eef7 Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Sat, 13 May 2000 09:36:33 +0000 Subject: [PATCH] Do not use non-standard type u_int32_t. Instead, use UINT4 for now which is platform-independent. PR: #4262 --- ext/icap/php_icap.c | 5 +++-- ext/mcal/php_mcal.c | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ext/icap/php_icap.c b/ext/icap/php_icap.c index 28d3aa56f4b..5335a93636c 100644 --- a/ext/icap/php_icap.c +++ b/ext/icap/php_icap.c @@ -51,6 +51,7 @@ #include "php_icap.h" #include "modules.h" #include "ext/standard/info.h" +#include "ext/standard/global.h" #if (WIN32|WINNT) #include "winsock.h" #endif @@ -67,7 +68,7 @@ typedef struct php_icap_le_struct { typedef struct cal_list { -u_int32_t uid; +UINT4 uid; struct cal_list *next; } cal_list_t; @@ -904,7 +905,7 @@ void cc_searched (unsigned long cal_uid) } -void cc_appended(u_int32_t uid) +void cc_appended(UINT4 uid) { } diff --git a/ext/mcal/php_mcal.c b/ext/mcal/php_mcal.c index 05e9dc3d4df..aee722c9700 100644 --- a/ext/mcal/php_mcal.c +++ b/ext/mcal/php_mcal.c @@ -51,6 +51,7 @@ #include "php_mcal.h" #include "modules.h" #include "ext/standard/info.h" +#include "ext/standard/global.h" #ifdef PHP_WIN32 #include "winsock.h" #endif @@ -68,7 +69,7 @@ typedef struct _php_mcal_le_struct { typedef struct cal_list { - u_int32_t uid; + UINT4 uid; struct cal_list *next; } cal_list_t; @@ -1598,7 +1599,7 @@ void cc_searched (unsigned long cal_uid) } } -void cc_appended(u_int32_t uid) +void cc_appended(UINT4 uid) { }