removed _BIT macro

pull/4/head
Adrian Perez 2007-08-22 19:54:14 +02:00
parent ec48c46ce8
commit ec4deed537
1 changed files with 6 additions and 10 deletions

View File

@ -35,16 +35,12 @@ typedef struct {
#endif
#define _BIT(_n) (1 << (_n))
#define NGX_HTTP_FANCYINDEX_README_TOP (0)
#define NGX_HTTP_FANCYINDEX_README_PRE (0)
#define NGX_HTTP_FANCYINDEX_README_ASIS _BIT(1)
#define NGX_HTTP_FANCYINDEX_README_BOTTOM _BIT(2)
#define NGX_HTTP_FANCYINDEX_README_DIV _BIT(3)
#define NGX_HTTP_FANCYINDEX_README_IFRAME _BIT(4)
#undef _BIT
#define NGX_HTTP_FANCYINDEX_README_TOP 0x00
#define NGX_HTTP_FANCYINDEX_README_PRE 0x00
#define NGX_HTTP_FANCYINDEX_README_ASIS 0x01
#define NGX_HTTP_FANCYINDEX_README_BOTTOM 0x02
#define NGX_HTTP_FANCYINDEX_README_DIV 0x04
#define NGX_HTTP_FANCYINDEX_README_IFRAME 0x08
typedef struct {