mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 884134 - Fix ifdef to un-break B2G mochitest-3.
This commit is contained in:
parent
14f6c77441
commit
7500c901d1
@ -69,7 +69,7 @@ private:
|
||||
nsACString& aResponseStr)
|
||||
{
|
||||
mResponseCode = aResponseCode;
|
||||
#ifdef ANDROID_VERSION >= 17
|
||||
#if ANDROID_VERSION >= 17
|
||||
// There's a sequence number here that we don't care about
|
||||
// We expect it to be 0. See VolumeCommand::SetCmd
|
||||
mResponseStr = Substring(aResponseStr, 2);
|
||||
@ -127,7 +127,7 @@ public:
|
||||
void SetCmd(const nsACString& aCommand)
|
||||
{
|
||||
mCmd.Truncate();
|
||||
#ifdef ANDROID_VERSION >= 17
|
||||
#if ANDROID_VERSION >= 17
|
||||
// JB requires a sequence number at the beginning of messages.
|
||||
// It doesn't matter what we use, so we use 0.
|
||||
mCmd = "0 ";
|
||||
|
Loading…
Reference in New Issue
Block a user