~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/global.h

  • 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:
62
62
#define EOVERFLOW 84
63
63
#endif
64
64
 
 
65
 
 
66
/* Including this here because the cantrip is so bloody involved */
 
67
#if TIME_WITH_SYS_TIME
 
68
# include <sys/time.h>
 
69
# include <time.h>
 
70
#else
 
71
# if HAVE_SYS_TIME_H
 
72
#  include <sys/time.h>
 
73
# else
 
74
#  include <time.h>
 
75
# endif
 
76
#endif
 
77
 
 
78
 
65
79
/*
66
80
  Temporary solution to solve bug#7156. Include "sys/types.h" before
67
81
  the thread headers, else the function madvise() will not be defined