/* Copyright (C) 2008 Andreas Baumann This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . */ #ifndef WOLF_STDLIB_H #define WOLF_STDLIB_H /** * @addtogroup wolf_port Porting * @{ */ /** * @file stdlib.h * @brief nivelate things found in stdlib.h, e.g itoa * @author Andreas Baumann */ #include "port/sys.h" #include #if !defined HAVE_ITOA || defined TEST_ITOA char *wolf_port_itoa( int value, char *string, int radix ); #endif /* !defined HAVE_ITOA || defined TEST_ITOA */ #if !defined HAVE_ITOA #define itoa( value, string, radix ) wolf_port_itoa( value, string, radix ) #endif /* !defined HAVE_ITOA */ /** @} */ /* @addtogroup wolf_port */ #endif /* ifndef WOLF_STDLIB_H */