diff options
author | Moonchild <moonchild@palemoon.org> | 2021-03-15 18:24:14 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2021-03-15 18:24:14 +0000 |
commit | a9a050901e25f5c6380d8495fae4563f94a34506 (patch) | |
tree | d3acc986b0b75a55bb0ba4de7154d84b6ea5825c /nsprpub/pr/tests/layer.c | |
parent | fd9fc4ea60a66e33a57826bac996e1d1128c0e40 (diff) | |
download | uxp-a9a050901e25f5c6380d8495fae4563f94a34506.tar.gz |
Issue #1693 - Update NSPR to 4.25-RTM
Diffstat (limited to 'nsprpub/pr/tests/layer.c')
-rw-r--r-- | nsprpub/pr/tests/layer.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/nsprpub/pr/tests/layer.c b/nsprpub/pr/tests/layer.c index 8579394dc3..8ad32eeaa8 100644 --- a/nsprpub/pr/tests/layer.c +++ b/nsprpub/pr/tests/layer.c @@ -40,7 +40,19 @@ typedef enum Verbosity {silent, quiet, chatty, noisy} Verbosity; static PRIntn minor_iterations = 5; static PRIntn major_iterations = 1; static Verbosity verbosity = quiet; -static PRUint16 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 + +static PRUint16 default_port = 12273 PORT_INC_DO PORT_INC_3264; static PRFileDesc *PushLayer(PRFileDesc *stack) { |