~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/temporal.cc

  • Committer: Monty Taylor
  • Date: 2009-01-30 09:05:05 UTC
  • mto: (779.3.29 devel)
  • mto: This revision was merged to the branch mainline in revision 823.
  • Revision ID: mordred@inaugust.com-20090130090505-1frvfud1y7ao3lhh
Some tweaks to get timegm working on Solaris.

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
 */
36
36
 
37
37
#include "drizzled/global.h"
 
38
 
38
39
#include "mystrings/m_ctype.h"
39
40
#include "drizzled/my_decimal.h"
40
41
#include "drizzled/temporal.h"
43
44
#include <vector>
44
45
#include <string.h>
45
46
 
 
47
#ifndef _HAVE_DECL_TIMEGM
 
48
#include <gnulib/time.h>
 
49
//time_t timegm (struct tm *__tm);
 
50
#endif
46
51
 
47
52
extern std::vector<drizzled::TemporalFormat *> known_datetime_formats;
48
53
extern std::vector<drizzled::TemporalFormat *> known_date_formats;