~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mystrings/my_strtoll10.cc

  • Committer: Brian Aker
  • Date: 2009-08-04 06:21:17 UTC
  • mfrom: (1108.2.2 merge)
  • Revision ID: brian@gaz-20090804062117-fef8x6y3ydzrvab3
Merge Brian

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 
12
12
   You should have received a copy of the GNU General Public License
13
13
   along with this program; if not, write to the Free Software
14
 
   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA */
 
14
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
15
15
 
16
 
#include "config.h"
17
 
#include "drizzled/internal/m_string.h"
 
16
#include <drizzled/global.h>
 
17
#include <mystrings/m_string.h>
18
18
#include <errno.h>
19
19
 
20
 
namespace drizzled
21
 
{
22
 
namespace internal
23
 
{
24
 
 
25
20
#define MAX_NEGATIVE_NUMBER     ((uint64_t) 0x8000000000000000LL)
26
21
#define INIT_CNT  9
27
22
#define LFACTOR   1000000000ULL
239
234
  *endptr= (char *) nptr;
240
235
  return 0;
241
236
}
242
 
 
243
 
} /* namespace internal */
244
 
} /* namespace drizzled */