Use approptiate typoe based on configure results.

This commit is contained in:
Mark Andrews 2001-01-23 05:13:25 +00:00
parent 545d51072b
commit 4ae98f5100
2 changed files with 8 additions and 7 deletions

View file

@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: platform.h.in,v 1.19 2001/01/23 04:47:55 marka Exp $ */
/* $Id: platform.h.in,v 1.20 2001/01/23 05:13:24 marka Exp $ */
#ifndef ISC_PLATFORM_H
#define ISC_PLATFORM_H 1
@ -137,6 +137,11 @@
*/
@ISC_PLATFORM_NEEDSYSSELECTH@
/*
* Type used for resource limits.
*/
@ISC_PLATFORM_RLIMITTYPE@
/*
* Tell emacs to use C mode for this file.
*

View file

@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: resource.c,v 1.8 2001/01/23 03:14:28 marka Exp $ */
/* $Id: resource.c,v 1.9 2001/01/23 05:13:25 marka Exp $ */
#include <config.h>
@ -30,11 +30,7 @@
#include "errno2result.h"
#ifndef HAVE_RLIM_T
/*
* quad_t is right for BSD/OS, the only system for which the lack of rlim_t
* has been observed so far.
*/
typedef quad_t rlim_t;
typedef ISC_PLATFORM_RLIMITTYPE rlim_t;
#endif
static isc_result_t