1N/A/***********************************************************************
1N/A* *
1N/A* This software is part of the ast package *
1N/A* Copyright (c) 1985-2011 AT&T Intellectual Property *
1N/A* and is licensed under the *
1N/A* Common Public License, Version 1.0 *
1N/A* by AT&T Intellectual Property *
1N/A* *
1N/A* A copy of the License is available at *
1N/A* http://www.opensource.org/licenses/cpl1.0.txt *
1N/A* (with md5 checksum 059e8cd6165cb4c31e351f2b69388fd9) *
1N/A* *
1N/A* Information and Software Systems Research *
1N/A* AT&T Research *
1N/A* Florham Park NJ *
1N/A* *
1N/A* Glenn Fowler <gsf@research.att.com> *
1N/A* David Korn <dgk@research.att.com> *
1N/A* Phong Vo <kpv@research.att.com> *
1N/A* *
1N/A***********************************************************************/
1N/A#pragma prototyped
1N/A
1N/A/*
1N/A * transient code to aid transition between releases
1N/A */
1N/A
1N/A#include <ast.h>
1N/A
1N/A#if defined(__EXPORT__)
1N/A#define extern __EXPORT__
1N/A#endif
1N/A
1N/A#define STUB 1
1N/A
1N/A/*
1N/A * 2006-09-28
1N/A *
1N/A * on some systems the _std_strtol iffe changed (due to a faulty
1N/A * test prototype) and the cause programs dynamically linked to
1N/A * an updated -last to fail at runtime with missing _ast_strtol etc.
1N/A */
1N/A
1N/A#if !_std_strtol
1N/A
1N/A#ifndef strtol
1N/A#undef STUB
1N/Aextern long
1N/A_ast_strtol(const char* a, char** b, int c)
1N/A{
1N/A return strtol(a, b, c);
1N/A}
1N/A#endif
1N/A
1N/A#ifndef strtoul
1N/A#undef STUB
1N/Aextern unsigned long
1N/A_ast_strtoul(const char* a, char** b, int c)
1N/A{
1N/A return strtoul(a, b, c);
1N/A}
1N/A#endif
1N/A
1N/A#ifndef strtoll
1N/A#undef STUB
1N/Aextern intmax_t
1N/A_ast_strtoll(const char* a, char** b, int c)
1N/A{
1N/A return strtoll(a, b, c);
1N/A}
1N/A#endif
1N/A
1N/A#ifndef strtoull
1N/A#undef STUB
1N/Aextern uintmax_t
1N/A_ast_strtoull(const char* a, char** b, int c)
1N/A{
1N/A return strtoull(a, b, c);
1N/A}
1N/A#endif
1N/A
1N/A#endif
1N/A
1N/A#if STUB
1N/ANoN(transition)
1N/A#endif