summaryrefslogtreecommitdiffstats
path: root/toolkit/mozapps/macos-frameworks/ChannelPrefs/ChannelPrefs.mm
blob: 0428bbe8abfe7f7ac51fe7f9dc5076e302603d53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#include "ChannelPrefs.h"

#include "mozilla/HelperMacros.h"

#ifdef MOZ_UPDATE_CHANNEL_OVERRIDE
#  define CHANNEL MOZ_UPDATE_CHANNEL_OVERRIDE
#else
#  define CHANNEL MOZ_UPDATE_CHANNEL
#endif

NSString* ChannelPrefsGetChannel() {
  return [NSString stringWithCString:MOZ_STRINGIFY(CHANNEL)
                            encoding:NSUTF8StringEncoding];
}