summaryrefslogtreecommitdiffstats
path: root/nsprpub/pr/tests/provider.c
diff options
context:
space:
mode:
Diffstat (limited to 'nsprpub/pr/tests/provider.c')
-rw-r--r--nsprpub/pr/tests/provider.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/nsprpub/pr/tests/provider.c b/nsprpub/pr/tests/provider.c
index 1bd15fb6f..3450b20ae 100644
--- a/nsprpub/pr/tests/provider.c
+++ b/nsprpub/pr/tests/provider.c
@@ -58,11 +58,22 @@
** This is the beginning of the test
*/
+#ifdef DEBUG
+#define PORT_INC_DO +100
+#else
+#define PORT_INC_DO
+#endif
+#ifdef IS_64
+#define PORT_INC_3264 +200
+#else
+#define PORT_INC_3264
+#endif
+
#define RECV_FLAGS 0
#define SEND_FLAGS 0
#define BUFFER_SIZE 1024
#define DEFAULT_BACKLOG 5
-#define DEFAULT_PORT 13000
+#define DEFAULT_PORT 13000 PORT_INC_DO PORT_INC_3264
#define DEFAULT_CLIENTS 1
#define ALLOWED_IN_ACCEPT 1
#define DEFAULT_CLIPPING 1000