switch from COMPILE_FOR_R5 to HAIKU_TARGET_PLATFORM_HAIKU
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22460 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
082c9eb03a
commit
2caa43976d
@ -8,7 +8,7 @@
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifdef COMPILE_FOR_R5
|
||||
#ifndef HAIKU_TARGET_PLATFORM_HAIKU
|
||||
#define DEVFS_PATH_FORMAT "audio/multi/hda/%lu"
|
||||
#include <multi_audio.h>
|
||||
#else
|
||||
|
@ -463,7 +463,7 @@ random_select(void *cookie, uint8 event, uint32 ref, selectsync *sync)
|
||||
|
||||
if (event == B_SELECT_READ) {
|
||||
/* tell there is already data to read */
|
||||
#ifdef COMPILE_FOR_R5
|
||||
#ifndef HAIKU_TARGET_PLATFORM_HAIKU
|
||||
notify_select_event(sync, ref);
|
||||
#else
|
||||
notify_select_event(sync, event);
|
||||
|
Loading…
Reference in New Issue
Block a user