~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to gnulib/time.in.h

Merged solaris gcc build fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
   along with this program; if not, write to the Free Software Foundation,
17
17
   Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
18
18
 
 
19
#if !defined(GNULIB_PORTCHECK)
 
20
# define GNULIB_PORTCHECK 0
 
21
#endif
 
22
 
19
23
/* Don't get in the way of glibc when it includes time.h merely to
20
24
   declare a few standard symbols, rather than to declare all the
21
25
   symbols.  Also, Solaris 8 <time.h> eventually includes itself
87
91
# endif
88
92
 
89
93
/* Convert TM to a time_t value, assuming UTC.  */
90
 
# if @REPLACE_TIMEGM@
 
94
# if @REPLACE_TIMEGM@ || !defined(HAVE_DECL_TIMEGM)
91
95
#  undef timegm
92
96
#  define timegm rpl_timegm
93
97
time_t timegm (struct tm *__tm);
96
100
/* Encourage applications to avoid unsafe functions that can overrun
97
101
   buffers when given outlandish struct tm values.  Portable
98
102
   applications should use strftime (or even sprintf) instead.  */
99
 
# if GNULIB_PORTCHECK
 
103
# if defined(GNULIB_PORTCHECK)
100
104
#  undef asctime
101
105
#  define asctime eschew_asctime
102
106
#  undef asctime_r