delete_driver_settings.cpp: Get rid of the weak alias.
As weak aliases are not supported on OS X, this caused problems when building Haiku on OS X, as this file is also used for the host tools. Signed-off-by: Axel Dörfler <axeld@pinc-software.de>
This commit is contained in:
parent
44d352cdb1
commit
c7cb9b2f59
@ -953,8 +953,8 @@ get_driver_settings(void *handle)
|
||||
}
|
||||
|
||||
|
||||
// this creates an alias of the above function
|
||||
// unload_driver_settings() is the same as delete_driver_settings()
|
||||
extern "C" __typeof(unload_driver_settings) delete_driver_settings
|
||||
__attribute__((weak, alias ("unload_driver_settings")));
|
||||
|
||||
status_t
|
||||
delete_driver_settings(void *_handle)
|
||||
{
|
||||
return unload_driver_settings(_handle);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user