~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/tzfile.h

  • Committer: Padraig O'Sullivan
  • Date: 2009-09-13 00:53:34 UTC
  • mto: (1126.9.2 captain-20090915-01)
  • mto: This revision was merged to the branch mainline in revision 1133.
  • Revision ID: osullivan.padraig@gmail.com-20090913005334-6wio2sbjugskfbm3
Added calls to the connection start/end dtrace probes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
  Information about time zone files.
29
29
*/
30
30
 
31
 
#ifndef DRIZZLED_TZFILE_H
32
 
#define DRIZZLED_TZFILE_H
33
 
 
34
 
namespace drizzled
35
 
{
36
 
 
37
31
#ifndef TZDIR
38
32
#define TZDIR   "/usr/share/zoneinfo" /* Time zone object file directory */
39
33
#endif /* !defined TZDIR */
144
138
  that will probably do.
145
139
*/
146
140
 
147
 
} /* namespace drizzled */
148
 
 
149
 
#endif /* DRIZZLED_TZFILE_H */
 
141
#define isleap(y) (((y) % 4) == 0 && (((y) % 100) != 0 || ((y) % 400) == 0))