~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to gnulib/mktime.c

Merged solaris gcc build fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
 
39
39
#include <string.h>             /* For the real memcpy prototype.  */
40
40
 
41
 
#if DEBUG
 
41
#if defined(DEBUG)
42
42
# include <stdio.h>
43
43
# include <stdlib.h>
44
44
/* Make it work even if the system's libc has its own mktime routine.  */
139
139
  };
140
140
 
141
141
 
 
142
#ifndef mktime_internal
 
143
time_t mktime_internal (struct tm *tp,
 
144
                   struct tm *(*convert) (const time_t *, struct tm *),
 
145
                   time_t *offset);
 
146
#endif
 
147
 
142
148
#ifndef _LIBC
143
149
/* Portable standalone applications should supply a <time.h> that
144
150
   declares a POSIX-compliant localtime_r, for the benefit of older
522
528
libc_hidden_weak (timelocal)
523
529
#endif
524
530
 
525
 
#if DEBUG
 
531
#if defined(DEBUG)
526
532
 
527
533
static int
528
534
not_equal_tm (const struct tm *a, const struct tm *b)