1/* $Id: miniupnpctypes.h,v 1.3 2021/08/21 09:50:00 nanard Exp $ */
2/* Miniupnp project : http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org
3 * Author : Thomas Bernard
4 * Copyright (c) 2021 Thomas Bernard
5 * This software is subject to the conditions detailed in the
6 * LICENCE file provided within this distribution */
7#ifndef MINIUPNPCTYPES_H_INCLUDED
8#define MINIUPNPCTYPES_H_INCLUDED
9
10/* Use unsigned long long when available :
11 * strtoull is C99 */
12#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
13#define UNSIGNED_INTEGER unsigned long long
14#define STRTOUI strtoull
15#else
16#define UNSIGNED_INTEGER unsigned int
17#define STRTOUI strtoul
18#endif
19
20#endif
21
22