mirror of
https://github.com/postgres/postgres.git
synced 2025-11-13 16:22:44 +03:00
More cleanups...several ports are major redundancies of other ports
This commit is contained in:
@@ -4,6 +4,11 @@
|
||||
#include "rusagestub.h"
|
||||
#include "port-protos.h"
|
||||
|
||||
#ifdef 0 /* this is from univel port ... how does compiler define? */
|
||||
/* same for i386_solaris port ... how does compiler define? */
|
||||
/* same for sco port ... how does compiler define? */
|
||||
/* same for sparc_solaris port ... how does compiler define? */
|
||||
/* same for svr4 port ... how does compiler define? */
|
||||
int
|
||||
getrusage(int who, struct rusage * rusage)
|
||||
{
|
||||
@@ -44,4 +49,11 @@ getrusage(int who, struct rusage * rusage)
|
||||
rusage->ru_stime.tv_usec = TICK_TO_USEC(u, tick_rate);
|
||||
return (0);
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef 0 /* this is for hpux port ... how does compiler define? */
|
||||
getrusage(int who, struct rusage * ru)
|
||||
{
|
||||
return (syscall(SYS_GETRUSAGE, who, ru));
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user