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