mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 12:24:24 +00:00
[vm/ffi] dart_api_dl.c fix MacOS build
Fixes "redefinition of typedef '...' is a C11 feature" on Mac bots. Change-Id: I9f1114279106fa83ca491e069564a9931541d6ad Cq-Include-Trybots:dart/try:vm-kernel-mac-release-x64-try Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/158001 Auto-Submit: Daco Harkes <dacoharkes@google.com> Commit-Queue: Alexander Aprelev <aam@google.com> Reviewed-by: Alexander Aprelev <aam@google.com>
This commit is contained in:
parent
d98f777da8
commit
ba19b1dd4b
1 changed files with 1 additions and 3 deletions
|
@ -10,9 +10,7 @@
|
|||
|
||||
#include <string.h>
|
||||
|
||||
#define DART_API_DL_DEFINITIONS(name, R, A) \
|
||||
typedef R(*name##_Type) A; \
|
||||
name##_Type name##_DL = NULL;
|
||||
#define DART_API_DL_DEFINITIONS(name, R, A) name##_Type name##_DL = NULL;
|
||||
|
||||
DART_API_ALL_DL_SYMBOLS(DART_API_DL_DEFINITIONS)
|
||||
|
||||
|
|
Loading…
Reference in a new issue