/thirdparty/libportfwd/third-party/miniupnpc-1.6/miniupnpctypes.h

http://github.com/tomahawk-player/tomahawk · C Header · 19 lines · 10 code · 3 blank · 6 comment · 1 complexity · 9a70ccc73d355a4b62182199ec81ecd3 MD5 · raw file

  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. #if (defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L)
  10. #define UNSIGNED_INTEGER unsigned long long
  11. #define STRTOUI strtoull
  12. #else
  13. #define UNSIGNED_INTEGER unsigned int
  14. #define STRTOUI strtoul
  15. #endif
  16. #endif