diff options
author | Julian Rex <julian.rex@mapbox.com> | 2019-07-24 16:28:50 -0400 |
---|---|---|
committer | Julian Rex <julian.rex@mapbox.com> | 2019-08-23 16:22:08 -0400 |
commit | 32c2b4608ba349f1006b3c6db138f047e49b0b4c (patch) | |
tree | 08e2c7535a52e228104df43a0297a8a360c80237 | |
parent | 7949c5983c0937a06e37446781e1ad947e4b3308 (diff) | |
download | qtlocation-mapboxgl-32c2b4608ba349f1006b3c6db138f047e49b0b4c.tar.gz |
Remove the undef!
-rw-r--r-- | platform/darwin/src/MGLSignpost.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/platform/darwin/src/MGLSignpost.h b/platform/darwin/src/MGLSignpost.h index f9eed00c9f..83ff565a98 100644 --- a/platform/darwin/src/MGLSignpost.h +++ b/platform/darwin/src/MGLSignpost.h @@ -4,9 +4,10 @@ #include <os/log.h> #include <os/signpost.h> -#define CONCAT2(x,y) x##y -#define CONCAT(x,y) CONCAT2(x,y) -#define SIGNPOST_NAME(x) CONCAT(signpost,x) +#define SIGNPOST_CONCAT2(x,y) x##y +#define SIGNPOST_CONCAT(x,y) SIGNPOST_CONCAT2(x,y) +#define SIGNPOST_NAME(x) SIGNPOST_CONCAT(signpost,x) + #define MGL_EXPORT __attribute__((visibility ("default"))) MGL_EXPORT extern os_log_t MGLDefaultSignpostLog; @@ -68,8 +69,4 @@ MGL_EXPORT extern os_log_t MGLSignpostLogCreate(const char* name); #define MGL_SIGNPOST_END(signpost, name, ...) MGL_NAMED_SIGNPOST_END(MGLDefaultSignpostLog, signpost, name, ##__VA_ARGS__) #define MGL_SIGNPOST_EVENT(signpost, name, ...) MGL_NAMED_SIGNPOST_EVENT(MGLDefaultSignpostLog, signpost, name, ##__VA_ARGS__) -#undef CONCAT -#undef CONCAT2 -#undef SIGNPOST_NAME - #endif /* MGLSignpost_h */ |