Skip to content

Commit

Permalink
add SENTRY_TRANSPORT_COMPRESSION macro
Browse files Browse the repository at this point in the history
  • Loading branch information
Strive-Sun committed May 22, 2024
1 parent 957cc7c commit 4eac7d6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/sentry_transport.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,13 @@
#include "sentry_ratelimiter.h"
#include "sentry_string.h"

// 强制开启 SENTRY_TRANSPORT_COMPRESSION
#ifndef SENTRY_TRANSPORT_COMPRESSION
# define SENTRY_TRANSPORT_COMPRESSION
#endif // !SENTRY_TRANSPORT_COMPRESSION

#ifdef SENTRY_TRANSPORT_COMPRESSION
# include "external/crashpad/third_party/zlib/zlib/zlib.h"
# include "external/crashpad/third_party/zlib/zlib/zlib.h"
#endif

#define ENVELOPE_MIME "application/x-sentry-envelope"
Expand Down

0 comments on commit 4eac7d6

Please sign in to comment.