header files.
Josh Williams
/*
- * $PostgreSQL: pgsql/contrib/pgbench/pgbench.c,v 1.75 2007/12/11 02:31:49 tgl Exp $
+ * $PostgreSQL: pgsql/contrib/pgbench/pgbench.c,v 1.75.2.1 2009/07/30 09:28:03 mha Exp $
*
* pgbench: a simple benchmark program for PostgreSQL
* written by Tatsuo Ishii
* suitability of this software for any purpose. It is provided "as
* is" without express or implied warranty.
*/
+
+#ifdef WIN32
+#define FD_SETSIZE 1024 /* set before winsock2.h is included */
+#endif /* ! WIN32 */
+
#include "postgres_fe.h"
#include "libpq-fe.h"
#include <ctype.h>
#ifdef WIN32
-#undef FD_SETSIZE
-#define FD_SETSIZE 1024
#include <win32.h>
#else
#include <sys/time.h>