pmt: fix all NDK build issues.

This commit is contained in:
2024-12-14 18:18:54 +03:00
parent 3059e42142
commit 9b3618fdbe
6 changed files with 200 additions and 18 deletions

View File

@@ -28,16 +28,8 @@ ped_set_architecture ()
if (ped_architecture)
return;
#ifdef linux
extern PedArchitecture ped_linux_arch;
const PedArchitecture* arch = &ped_linux_arch;
#elif defined(__BEOS__)
extern PedArchitecture ped_beos_arch;
const PedArchitecture* arch = &ped_beos_arch;
#else
extern PedArchitecture ped_gnu_arch;
const PedArchitecture* arch = &ped_gnu_arch;
#endif
ped_architecture = arch;
}