diff --git a/headers/private/userlandfs/shared/Compatibility.h b/headers/private/userlandfs/shared/Compatibility.h index 62c09d8b85..8a686ff2ba 100644 --- a/headers/private/userlandfs/shared/Compatibility.h +++ b/headers/private/userlandfs/shared/Compatibility.h @@ -32,8 +32,8 @@ #include -#if B_BEOS_VERSION <= B_BEOS_VERSION_5 -//# define B_BAD_DATA -2147483632L +#ifdef HAIKU_TARGET_PLATFORM_BEOS +# define B_BAD_DATA -2147483632L #else # ifndef closesocket # define closesocket(fd) close(fd)