lyx_mirror/src/support/atoi.C
Jean-Marc Lasgouttes b0da75ab1e help a bit compilation with sun CC
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1976 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-02 10:47:07 +00:00

15 lines
180 B
C

#include <config.h>
#include <cstdlib>
#include "lyxlib.h"
#ifndef CXX_GLOBAL_CSTD
using std::atoi;
#endif
int lyx::atoi(string const & nstr)
{
return ::atoi(nstr.c_str());
}