77 * Portions Copyright (c) 1996-2000, PostgreSQL, Inc
88 * Portions Copyright (c) 1994, Regents of the University of California
99 *
10- * $Id: sdir.h,v 1.7 2000/01/26 05:57:51 momjian Exp $
10+ * $Id: sdir.h,v 1.8 2000/11/02 23:11:03 tgl Exp $
1111 *
1212 *-------------------------------------------------------------------------
1313 */
@@ -31,28 +31,28 @@ typedef enum ScanDirection
3131 *True iff scan direction is valid.
3232 */
3333#define ScanDirectionIsValid (direction ) \
34- ((bool) (BackwardScanDirection <= direction && \
35- direction <= ForwardScanDirection))
34+ ((bool) (BackwardScanDirection <=( direction) && \
35+ ( direction) <= ForwardScanDirection))
3636
3737/*
3838 * ScanDirectionIsBackward
3939 *True iff scan direction is backward.
4040 */
4141#define ScanDirectionIsBackward (direction ) \
42- ((bool) (direction == BackwardScanDirection))
42+ ((bool) (( direction) == BackwardScanDirection))
4343
4444/*
4545 * ScanDirectionIsNoMovement
4646 *True iff scan direction indicates no movement.
4747 */
4848#define ScanDirectionIsNoMovement (direction ) \
49- ((bool) (direction == NoMovementScanDirection))
49+ ((bool) (( direction) == NoMovementScanDirection))
5050
5151/*
5252 * ScanDirectionIsForward
5353 *True iff scan direction is forward.
5454 */
5555#define ScanDirectionIsForward (direction ) \
56- ((bool) (direction == ForwardScanDirection))
56+ ((bool) (( direction) == ForwardScanDirection))
5757
5858#endif /* SDIR_H */