Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1714e21a authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "Fix the MacOS build of incremental*" am: f10099d7

Change-Id: Ic5885f76a96d4dd258d0a93df9af1e5ba71c1847
parents b568c330 f10099d7
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@

#include "incremental.h"

#include <android-base/endian.h>
#include <android-base/file.h>
#include <android-base/stringprintf.h>
#include <openssl/base64.h>
@@ -26,12 +27,6 @@
#include "commandline.h"
#include "sysdeps.h"

#ifndef _WIN32
#include <endian.h>
#else
#define be32toh(x) _byteswap_ulong(x)
#endif

using namespace std::literals;

namespace incremental {
+1 −11
Original line number Diff line number Diff line
@@ -25,17 +25,7 @@
#include "adb_utils.h"
#include "sysdeps.h"

#ifndef _WIN32
#include <endian.h>
#else
#define be64toh(x) _byteswap_uint64(x)
#define be32toh(x) _byteswap_ulong(x)
#define be16toh(x) _byteswap_ushort(x)
#define htobe64(x) _byteswap_uint64(x)
#define htobe32(x) _byteswap_ulong(x)
#define htobe16(x) _byteswap_ushort(x)
#endif

#include <android-base/endian.h>
#include <android-base/strings.h>
#include <lz4.h>
#include <stdio.h>