goldfish: pipe: ANDROID: use the 'BIT' macro for wakeup flags
Bug: 72717639 Bug: 66884503 Change-Id: I977525f145d8b678d39867037c5fddcc35e0a52b Signed-off-by: Roman Kiryanov <rkir@google.com>
This commit is contained in:
parent
ec6875b2de
commit
0794d75be1
1 changed files with 3 additions and 3 deletions
|
@ -83,9 +83,9 @@ enum PipeErrors {
|
|||
|
||||
/* Bit-flags used to signal events from the emulator */
|
||||
enum PipeWakeFlags {
|
||||
PIPE_WAKE_CLOSED = 1 << 0, /* emulator closed pipe */
|
||||
PIPE_WAKE_READ = 1 << 1, /* pipe can now be read from */
|
||||
PIPE_WAKE_WRITE = 1 << 2 /* pipe can now be written to */
|
||||
PIPE_WAKE_CLOSED = BIT(0), /* emulator closed pipe */
|
||||
PIPE_WAKE_READ = BIT(1), /* pipe can now be read from */
|
||||
PIPE_WAKE_WRITE = BIT(2), /* pipe can now be written to */
|
||||
};
|
||||
|
||||
/* Bit flags for the 'flags' field */
|
||||
|
|
Loading…
Add table
Reference in a new issue