~ubuntu-branches/ubuntu/trusty/libprelude/trusty

« back to all changes in this revision

Viewing changes to libmissing/stdlib.in.h

  • Committer: Bazaar Package Importer
  • Author(s): Pierre Chifflier
  • Date: 2008-04-28 15:23:30 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20080428152330-su7zlfscjjeh30ig
Tags: 0.9.17.1-1
New upstream release (remove debug output)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* A GNU-like <stdlib.h>.
2
2
 
3
 
   Copyright (C) 1995, 2001-2004, 2006-2007 Free Software Foundation, Inc.
 
3
   Copyright (C) 1995, 2001-2004, 2006-2008 Free Software Foundation, Inc.
4
4
 
5
5
   This program is free software: you can redistribute it and/or modify
6
6
   it under the terms of the GNU Lesser General Public License as published by
199
199
#endif
200
200
 
201
201
 
 
202
#if @GNULIB_STRTOD@
 
203
# if @REPLACE_STRTOD@
 
204
#  define strtod rpl_strtod
 
205
# endif
 
206
# if !@HAVE_STRTOD@ || @REPLACE_STRTOD@
 
207
 /* Parse a double from STRING, updating ENDP if appropriate.  */
 
208
extern double strtod (const char *str, char **endp);
 
209
# endif
 
210
#elif defined GNULIB_POSIXCHECK
 
211
# undef strtod
 
212
# define strtod(s, e)                           \
 
213
    (GL_LINK_WARNING ("strtod is unportable - " \
 
214
                      "use gnulib module strtod for portability"), \
 
215
     strtod (s, e))
 
216
#endif
 
217
 
 
218
 
202
219
#ifdef __cplusplus
203
220
}
204
221
#endif