| 1 |
/* |
| 2 |
* Copyright (C) 2010-2021 Team Kodi (https://kodi.tv) |
| 3 |
* Copyright (C) 2010 Alwin Esch (Team Kodi) |
| 4 |
* |
| 5 |
* SPDX-License-Identifier: GPL-2.0-or-later |
| 6 |
* See LICENSE.md for more information. |
| 7 |
*/ |
| 8 |
|
| 9 |
#pragma once |
| 10 |
|
| 11 |
#include <inttypes.h> |
| 12 |
|
| 13 |
#ifndef TARGET_WINDOWS |
| 14 |
// need to check for ntohll definition |
| 15 |
// as it was added in iOS SDKs since 8.0 |
| 16 |
#if !defined(ntohll) |
| 17 |
uint64_t ntohll(uint64_t a); |
| 18 |
#endif |
| 19 |
#if !defined(htonll) |
| 20 |
uint64_t htonll(uint64_t a); |
| 21 |
#endif |
| 22 |
#endif |