indent: Help Emacs not to get confused by conditional compilation.
authorWerner Koch <wk@gnupg.org>
Mon, 11 Apr 2016 08:24:15 +0000 (10:24 +0200)
committerWerner Koch <wk@gnupg.org>
Tue, 12 Apr 2016 12:38:44 +0000 (14:38 +0200)
* agent/protect.c (calibrate_get_time) [W32]: Use separate function
calls for W32 and W32CE.
--

Signed-off-by: Werner Koch <wk@gnupg.org>
agent/protect.c
doc/HACKING

index cdb39fd..f037703 100644 (file)
@@ -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;
 
index 2f3dd43..11ae53b 100644 (file)
@@ -51,6 +51,7 @@ are
  - build   :: Changes to the build system
  - speedo  :: Speedo build system specific changes
  - doc     :: Documentation changes
+ - indent  :: Indentation and similar changes
 
 Typo fixes and documentation updates don't need a ChangeLog entry;
 thus you would use a commit message like