mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
indent: Help Emacs not to get confused by conditional compilation.
* agent/protect.c (calibrate_get_time) [W32]: Use separate function calls for W32 and W32CE. -- Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
22b869adca
commit
7faf131c8b
2 changed files with 4 additions and 1 deletions
|
@ -95,11 +95,13 @@ calibrate_get_time (struct calibrate_time_s *data)
|
|||
#ifdef HAVE_W32_SYSTEM
|
||||
# ifdef HAVE_W32CE_SYSTEM
|
||||
GetThreadTimes (GetCurrentThread (),
|
||||
&data->creation_time, &data->exit_time,
|
||||
&data->kernel_time, &data->user_time);
|
||||
# else
|
||||
GetProcessTimes (GetCurrentProcess (),
|
||||
# endif
|
||||
&data->creation_time, &data->exit_time,
|
||||
&data->kernel_time, &data->user_time);
|
||||
# endif
|
||||
#else
|
||||
struct tms tmp;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue