~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_getsystime.c

  • Committer: Monty Taylor
  • Date: 2008-07-09 16:42:25 UTC
  • mto: (77.6.1 glibclient-merge)
  • mto: This revision was merged to the branch mainline in revision 112.
  • Revision ID: monty@inaugust.com-20080709164225-2r6n4j98nhxh031l
Moved test to tests... 

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
/* thus to get the current time we should use the system function
18
18
   with the highest possible resolution */
19
19
 
20
 
/* 
 
20
/*
21
21
   TODO: in functions my_micro_time() and my_micro_time_and_time() there
22
22
   exists some common code that should be merged into a function.
23
23
*/
128
128
    Value in microseconds from some undefined point in time
129
129
*/
130
130
 
131
 
#define DELTA_FOR_SECONDS LL(500000000)  /* Half a second */
 
131
#define DELTA_FOR_SECONDS 500000000LL  /* Half a second */
132
132
 
133
133
ulonglong my_micro_time_and_time(time_t *time_arg)
134
134
{