1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01: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:
Werner Koch 2016-04-11 10:24:15 +02:00
parent 22b869adca
commit 7faf131c8b
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B
2 changed files with 4 additions and 1 deletions

View File

@ -95,11 +95,13 @@ calibrate_get_time (struct calibrate_time_s *data)
#ifdef HAVE_W32_SYSTEM #ifdef HAVE_W32_SYSTEM
# ifdef HAVE_W32CE_SYSTEM # ifdef HAVE_W32CE_SYSTEM
GetThreadTimes (GetCurrentThread (), GetThreadTimes (GetCurrentThread (),
&data->creation_time, &data->exit_time,
&data->kernel_time, &data->user_time);
# else # else
GetProcessTimes (GetCurrentProcess (), GetProcessTimes (GetCurrentProcess (),
# endif
&data->creation_time, &data->exit_time, &data->creation_time, &data->exit_time,
&data->kernel_time, &data->user_time); &data->kernel_time, &data->user_time);
# endif
#else #else
struct tms tmp; struct tms tmp;

View File

@ -51,6 +51,7 @@ are
- build :: Changes to the build system - build :: Changes to the build system
- speedo :: Speedo build system specific changes - speedo :: Speedo build system specific changes
- doc :: Documentation changes - doc :: Documentation changes
- indent :: Indentation and similar changes
Typo fixes and documentation updates don't need a ChangeLog entry; Typo fixes and documentation updates don't need a ChangeLog entry;
thus you would use a commit message like thus you would use a commit message like