mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-25 12:20:17 +01:00
Fixes:
android_stub/sync_stub.cpp:18:11: error: use of undeclared identifier 'NULL'
18 | return NULL;
| ^~~~
Reviewed-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38644>
25 lines
317 B
C++
25 lines
317 B
C++
#include <sync/sync.h>
|
|
|
|
extern "C" {
|
|
|
|
/* timeout in msecs */
|
|
int sync_wait(int fd, int timeout)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
int sync_merge(const char *name, int fd, int fd2)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
struct sync_file_info* sync_file_info(int32_t fd)
|
|
{
|
|
return nullptr;
|
|
}
|
|
|
|
void sync_file_info_free(struct sync_file_info* info)
|
|
{
|
|
}
|
|
|
|
}
|