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:
@@ -8,7 +8,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#ifdef COMPILE_FOR_R5
|
#ifndef HAIKU_TARGET_PLATFORM_HAIKU
|
||||||
#define DEVFS_PATH_FORMAT "audio/multi/hda/%lu"
|
#define DEVFS_PATH_FORMAT "audio/multi/hda/%lu"
|
||||||
#include <multi_audio.h>
|
#include <multi_audio.h>
|
||||||
#else
|
#else
|
||||||
|
|||||||
@@ -463,7 +463,7 @@ random_select(void *cookie, uint8 event, uint32 ref, 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 */
|
||||||
#ifdef COMPILE_FOR_R5
|
#ifndef HAIKU_TARGET_PLATFORM_HAIKU
|
||||||
notify_select_event(sync, ref);
|
notify_select_event(sync, ref);
|
||||||
#else
|
#else
|
||||||
notify_select_event(sync, event);
|
notify_select_event(sync, event);
|
||||||
|
|||||||
Reference in New Issue
Block a user