diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2000-04-08 18:32:24 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2000-04-08 18:32:24 +0000 |
commit | 7ecf7eea636d4455a4dc6dcc82fdcf0f554157e5 (patch) | |
tree | 8e5387830e3393325977497478da74d1e8cfe61a | |
parent | d78feff973658e4d86766d3f0660caa3c13c92eb (diff) |
Modify pgbench.c not to depend on configure, since it's not shipped with one.
-rw-r--r-- | contrib/pgbench/pgbench.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/pgbench/pgbench.c b/contrib/pgbench/pgbench.c index 6469dcdcb7f..ab5f0907167 100644 --- a/contrib/pgbench/pgbench.c +++ b/contrib/pgbench/pgbench.c @@ -1,5 +1,5 @@ /* - * $Header: /cvsroot/pgsql/contrib/pgbench/pgbench.c,v 1.1 2000/01/15 12:38:09 ishii Exp $ + * $Header: /cvsroot/pgsql/contrib/pgbench/pgbench.c,v 1.2 2000/04/08 18:32:24 tgl Exp $ * * pgbench: a simple TPC-B like benchmark program for PostgreSQL * written by Tatsuo Ishii @@ -527,7 +527,7 @@ int main(int argc, char **argv) { exit(1); } #ifndef __CYGWIN32__ -#ifdef HAVE_RLIMIT_NOFILE /* most platform uses RLIMIT_NOFILE */ +#ifdef RLIMIT_NOFILE /* most platform uses RLIMIT_NOFILE */ if (getrlimit(RLIMIT_NOFILE,&rlim) == -1) { #else /* but BSD doesn't ... */ if (getrlimit(RLIMIT_OFILE,&rlim) == -1) { |