random: remove non Haiku code.
This commit is contained in:
parent
ef5eccf6b3
commit
c5603138e5
@ -122,18 +122,10 @@ random_select(void *cookie, uint8 event, selectsync *sync)
|
||||
|
||||
if (event == B_SELECT_READ) {
|
||||
/* tell there is already data to read */
|
||||
#ifndef HAIKU_TARGET_PLATFORM_HAIKU
|
||||
notify_select_event(sync, ref);
|
||||
#else
|
||||
notify_select_event(sync, event);
|
||||
#endif
|
||||
} else if (event == B_SELECT_WRITE) {
|
||||
/* we're now writable */
|
||||
#ifndef HAIKU_TARGET_PLATFORM_HAIKU
|
||||
notify_select_event(sync, ref);
|
||||
#else
|
||||
notify_select_event(sync, event);
|
||||
#endif
|
||||
}
|
||||
return B_OK;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user