diff options
author | Moonchild <moonchild@palemoon.org> | 2020-12-23 19:01:09 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-12-23 19:01:09 +0000 |
commit | 149d2ffa779826cb48a381099858e76e4624d471 (patch) | |
tree | 1adb922c55da8094039ea14f4b2178314d51f2a1 /nsprpub/pr/tests/layer.c | |
parent | 25b6703e956a33e0ecd8bdc18f423e5eb5dd09d4 (diff) | |
download | UXP-149d2ffa779826cb48a381099858e76e4624d471.tar UXP-149d2ffa779826cb48a381099858e76e4624d471.tar.gz UXP-149d2ffa779826cb48a381099858e76e4624d471.tar.lz UXP-149d2ffa779826cb48a381099858e76e4624d471.tar.xz UXP-149d2ffa779826cb48a381099858e76e4624d471.zip |
Issue #1693 - Update NSPR to 4.29
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 8579394dc..8ad32eeaa 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) { |