We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent feda4cb commit 5219678Copy full SHA for 5219678
src/darwin/Framework/CHIPTests/TestHelpers/MTRTestServerAppRunner.m
@@ -21,11 +21,13 @@
21
22
static unsigned sAppRunnerIndex = 1;
23
24
+#if HAVE_NSTASK
25
// kBasePort gets the discriminator added to it to figure out the port the app
26
// should be using. This ensures that apps with distinct discriminators use
27
// distinct ports.
28
static const uint16_t kMinDiscriminator = 1111;
29
static const uint16_t kBasePort = 5542 - kMinDiscriminator;
30
+#endif // HAVE_NSTASK
31
32
@implementation MTRTestServerAppRunner {
33
unsigned _uniqueIndex;
0 commit comments