2011-09-27 20:25:35 +00:00
|
|
|
/* $Id: miniupnpctypes.h,v 1.1 2011/02/15 11:10:40 nanard Exp $ */
|
|
|
|
/* Miniupnp project : http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org
|
|
|
|
* Author : Thomas Bernard
|
2021-06-17 07:25:26 +00:00
|
|
|
* Copyright (c) 2021 Thomas Bernard
|
2011-09-27 20:25:35 +00:00
|
|
|
* This software is subject to the conditions detailed in the
|
|
|
|
* LICENCE file provided within this distribution */
|
2012-09-20 20:52:51 +00:00
|
|
|
#ifndef MINIUPNPCTYPES_H_INCLUDED
|
|
|
|
#define MINIUPNPCTYPES_H_INCLUDED
|
2011-09-27 20:25:35 +00:00
|
|
|
|
2021-06-17 07:25:26 +00:00
|
|
|
/* Use unsigned long long when available :
|
|
|
|
* strtoull is C99 */
|
|
|
|
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
|
2011-09-27 20:25:35 +00:00
|
|
|
#define UNSIGNED_INTEGER unsigned long long
|
|
|
|
#define STRTOUI strtoull
|
|
|
|
#else
|
|
|
|
#define UNSIGNED_INTEGER unsigned int
|
|
|
|
#define STRTOUI strtoul
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|