summaryrefslogtreecommitdiff
path: root/pr/tests/writev.c
diff options
context:
space:
mode:
Diffstat (limited to 'pr/tests/writev.c')
-rw-r--r--pr/tests/writev.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/pr/tests/writev.c b/pr/tests/writev.c
index 7b761648..f72f00fb 100644
--- a/pr/tests/writev.c
+++ b/pr/tests/writev.c
@@ -15,7 +15,18 @@
#define IOV_MAX 16
#endif
-#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
int PR_CALLBACK Writev(int argc, char **argv)
{