Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 7ecf7ee

Browse files
committed
Modify pgbench.c not to depend on configure, since it's not shipped with one.
1 parent d78feff commit 7ecf7ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contrib/pgbench/pgbench.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* $Header: /cvsroot/pgsql/contrib/pgbench/pgbench.c,v 1.1 2000/01/15 12:38:09 ishii Exp $
2+
* $Header: /cvsroot/pgsql/contrib/pgbench/pgbench.c,v 1.2 2000/04/08 18:32:24 tgl Exp $
33
*
44
* pgbench: a simple TPC-B like benchmark program for PostgreSQL
55
* written by Tatsuo Ishii
@@ -527,7 +527,7 @@ int main(int argc, char **argv) {
527527
exit(1);
528528
}
529529
#ifndef __CYGWIN32__
530-
#ifdef HAVE_RLIMIT_NOFILE /* most platform uses RLIMIT_NOFILE */
530+
#ifdef RLIMIT_NOFILE /* most platform uses RLIMIT_NOFILE */
531531
if (getrlimit(RLIMIT_NOFILE,&rlim) == -1) {
532532
#else /* but BSD doesn't ... */
533533
if (getrlimit(RLIMIT_OFILE,&rlim) == -1) {

0 commit comments

Comments
 (0)