[Groonga-commit] groonga/groonga at 5afcc9c [master] Indent

Back to archive index

Kouhei Sutou null+****@clear*****
Thu May 5 21:16:37 JST 2016


Kouhei Sutou	2016-05-05 21:16:37 +0900 (Thu, 05 May 2016)

  New Revision: 5afcc9c238aab426272ee0c8f8c8c87f6110736e
  https://github.com/groonga/groonga/commit/5afcc9c238aab426272ee0c8f8c8c87f6110736e

  Message:
    Indent

  Modified files:
    lib/time.c

  Modified: lib/time.c (+3 -3)
===================================================================
--- lib/time.c    2016-05-05 21:15:57 +0900 (bc2d7cb)
+++ lib/time.c    2016-05-05 21:16:37 +0900 (70bbdd0)
@@ -46,7 +46,7 @@ grn_timeval_now(grn_ctx *ctx, grn_timeval *tv)
   }
   return ctx->rc;
 #else /* HAVE_CLOCK_GETTIME */
-#ifdef WIN32
+# ifdef WIN32
   time_t t;
   struct _timeb tb;
   time(&t);
@@ -54,7 +54,7 @@ grn_timeval_now(grn_ctx *ctx, grn_timeval *tv)
   tv->tv_sec = t;
   tv->tv_nsec = tb.millitm * (GRN_TIME_NSEC_PER_SEC / 1000);
   return GRN_SUCCESS;
-#else /* WIN32 */
+# else /* WIN32 */
   struct timeval t;
   if (gettimeofday(&t, NULL)) {
     SERR("gettimeofday");
@@ -63,7 +63,7 @@ grn_timeval_now(grn_ctx *ctx, grn_timeval *tv)
     tv->tv_nsec = GRN_TIME_USEC_TO_NSEC(t.tv_usec);
   }
   return ctx->rc;
-#endif /* WIN32 */
+# endif /* WIN32 */
 #endif /* HAVE_CLOCK_GETTIME */
 }
 
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index