summaryrefslogtreecommitdiff
path: root/pr/tests/provider.c
diff options
context:
space:
mode:
Diffstat (limited to 'pr/tests/provider.c')
-rw-r--r--pr/tests/provider.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/pr/tests/provider.c b/pr/tests/provider.c
index 1bd15fb6..3450b20a 100644
--- a/pr/tests/provider.c
+++ b/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