summaryrefslogtreecommitdiff
path: root/nsprpub/pr/tests/acceptreademu.c
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-03-15 18:24:14 +0000
committerMoonchild <moonchild@palemoon.org>2021-03-15 18:24:14 +0000
commita9a050901e25f5c6380d8495fae4563f94a34506 (patch)
treed3acc986b0b75a55bb0ba4de7154d84b6ea5825c /nsprpub/pr/tests/acceptreademu.c
parentfd9fc4ea60a66e33a57826bac996e1d1128c0e40 (diff)
downloaduxp-a9a050901e25f5c6380d8495fae4563f94a34506.tar.gz
Issue #1693 - Update NSPR to 4.25-RTM
Diffstat (limited to 'nsprpub/pr/tests/acceptreademu.c')
-rw-r--r--nsprpub/pr/tests/acceptreademu.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/nsprpub/pr/tests/acceptreademu.c b/nsprpub/pr/tests/acceptreademu.c
index 75140c02f6..485b9d5025 100644
--- a/nsprpub/pr/tests/acceptreademu.c
+++ b/nsprpub/pr/tests/acceptreademu.c
@@ -20,7 +20,18 @@
#include <stdlib.h>
-#define DEFAULT_PORT 12273
+#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 DEFAULT_PORT 12273 PORT_INC_DO PORT_INC_3264
#define GET "GET / HTTP/1.0\n\n"
static PRFileDesc *std_out, *err_out;
static PRIntervalTime write_dally, accept_timeout;