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:
parent
22b869adca
commit
7faf131c8b
@ -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 (),
|
||||||
# else
|
|
||||||
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);
|
||||||
|
# else
|
||||||
|
GetProcessTimes (GetCurrentProcess (),
|
||||||
|
&data->creation_time, &data->exit_time,
|
||||||
|
&data->kernel_time, &data->user_time);
|
||||||
|
# endif
|
||||||
#else
|
#else
|
||||||
struct tms tmp;
|
struct tms tmp;
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user