summaryrefslogtreecommitdiff
path: root/pr/tests/tmoacc.c
diff options
context:
space:
mode:
Diffstat (limited to 'pr/tests/tmoacc.c')
-rw-r--r--pr/tests/tmoacc.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/pr/tests/tmoacc.c b/pr/tests/tmoacc.c
index a4d14daa..d7e64cbe 100644
--- a/pr/tests/tmoacc.c
+++ b/pr/tests/tmoacc.c
@@ -11,7 +11,18 @@
#include "plerror.h"
#include "plgetopt.h"
-#define BASE_PORT 9867
+#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 BASE_PORT 9867 PORT_INC_DO PORT_INC_3264
#define DEFAULT_THREADS 1
#define DEFAULT_BACKLOG 10
#define DEFAULT_TIMEOUT 10