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