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