1
1
/*
2
- * $Header: /cvsroot/pgsql/contrib/pgbench/pgbench.c,v 1.5 2000/07/12 22:58:57 petere Exp $
2
+ * $Header: /cvsroot/pgsql/contrib/pgbench/pgbench.c,v 1.6 2000/09/29 13:53:29 petere Exp $
3
3
*
4
4
* pgbench: a simple TPC-B like benchmark program for PostgreSQL
5
5
* written by Tatsuo Ishii
@@ -536,7 +536,7 @@ main(int argc, char **argv)
536
536
int nsocks ;/* return from select(2) */
537
537
int maxsock ;/* max socket number to be waited */
538
538
539
- #ifndef __CYGWIN32__
539
+ #ifndef __CYGWIN__
540
540
struct rlimit rlim ;
541
541
542
542
#endif
@@ -576,7 +576,7 @@ main(int argc, char **argv)
576
576
fprintf (stderr ,"wrong number of clients: %d\n" ,nclients );
577
577
exit (1 );
578
578
}
579
- #ifndef __CYGWIN32__
579
+ #ifndef __CYGWIN__
580
580
#ifdef RLIMIT_NOFILE /* most platform uses RLIMIT_NOFILE */
581
581
if (getrlimit (RLIMIT_NOFILE ,& rlim )== -1 )
582
582
{
@@ -593,7 +593,7 @@ main(int argc, char **argv)
593
593
fprintf (stderr ,"Use limit/ulimt to increase the limit before using pgbench.\n" );
594
594
exit (1 );
595
595
}
596
- #endif /* #ifndef__CYGWIN32__ */
596
+ #endif /* #ifndef__CYGWIN__ */
597
597
break ;
598
598
case 's' :
599
599
tps = atoi (optarg );