[Groonga-commit] groonga/groonga [master] Indent preprocessor blocks by 1 space

Back to archive index

null+****@clear***** null+****@clear*****
2012年 5月 17日 (木) 09:47:33 JST


Kouhei Sutou	2012-05-17 09:47:33 +0900 (Thu, 17 May 2012)

  New Revision: 3f233baf5259edf1289fa4fd96a1f4f2b74a0b03

  Log:
    Indent preprocessor blocks by 1 space

  Modified files:
    lib/com.h

  Modified: lib/com.h (+20 -20)
===================================================================
--- lib/com.h    2012-05-16 23:44:03 +0900 (193ee17)
+++ lib/com.h    2012-05-17 09:47:33 +0900 (ef673b4)
@@ -75,27 +75,27 @@ GRN_API grn_com_queue_entry *grn_com_queue_deque(grn_ctx *ctx, grn_com_queue *q)
 /******* grn_com ********/
 
 #ifdef USE_SELECT
-#ifdef HAVE_SYS_SELECT_H
-#include <sys/select.h>
-#endif /* HAVE_SYS_SELECT_H */
-#define GRN_COM_POLLIN  1
-#define GRN_COM_POLLOUT 2
+# ifdef HAVE_SYS_SELECT_H
+#  include <sys/select.h>
+# endif /* HAVE_SYS_SELECT_H */
+# define GRN_COM_POLLIN  1
+# define GRN_COM_POLLOUT 2
 #else /* USE_SELECT */
-#ifdef USE_EPOLL
-#include <sys/epoll.h>
-#define GRN_COM_POLLIN  EPOLLIN
-#define GRN_COM_POLLOUT EPOLLOUT
-#else /* USE_EPOLL */
-#ifdef USE_KQUEUE
-#include <sys/event.h>
-#define GRN_COM_POLLIN  EVFILT_READ
-#define GRN_COM_POLLOUT EVFILT_WRITE
-#else /* USE_KQUEUE */
-#include <sys/poll.h>
-#define GRN_COM_POLLIN  POLLIN
-#define GRN_COM_POLLOUT POLLOUT
-#endif /* USE_KQUEUE */
-#endif /* USE_EPOLL */
+# ifdef USE_EPOLL
+#  include <sys/epoll.h>
+#  define GRN_COM_POLLIN  EPOLLIN
+#  define GRN_COM_POLLOUT EPOLLOUT
+# else /* USE_EPOLL */
+#  ifdef USE_KQUEUE
+#   include <sys/event.h>
+#   define GRN_COM_POLLIN  EVFILT_READ
+#   define GRN_COM_POLLOUT EVFILT_WRITE
+#  else /* USE_KQUEUE */
+#   include <sys/poll.h>
+#   define GRN_COM_POLLIN  POLLIN
+#   define GRN_COM_POLLOUT POLLOUT
+#  endif /* USE_KQUEUE */
+# endif /* USE_EPOLL */
 #endif /* USE_SELECT */
 
 typedef struct _grn_com grn_com;




Groonga-commit メーリングリストの案内
Back to archive index