mapi: Undefine MemoryBarrier

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8661>
This commit is contained in:
Jesse Natalie 2021-01-22 13:51:43 -08:00 committed by Marge Bot
parent 92f1b6bad5
commit 695d3bcb12

View file

@ -481,6 +481,10 @@ class ABIPrinter(object):
print('#ifdef MAPI_TMP_DEFINES')
print(self.c_public_includes())
print()
print('#ifdef MemoryBarrier')
print('#undef MemoryBarrier')
print('#endif')
print()
print(self.c_public_declarations(self.prefix_lib))
print('#undef MAPI_TMP_DEFINES')
print('#endif /* MAPI_TMP_DEFINES */')