Skip to content

Commit f39c394

Browse files
committed
Aparently don't have a ESP32 flag so doing ifndef UNIX
1 parent ad1f1f2 commit f39c394

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

extmod/uzlib/tinflate.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
#include <assert.h>
3636
#include "tinf.h"
3737

38-
#ifdef ESP32
38+
#ifndef UNIX
3939
#include <esp_log.h>
4040
#endif
4141

@@ -366,7 +366,7 @@ static int tinf_inflate_block_data(TINF_DATA *d, TINF_TREE *lt, TINF_TREE *dt)
366366
offs = tinf_read_bits(d, dist_bits[dist], dist_base[dist]);
367367
if (d->dict_ring) {
368368
if (offs > d->dict_size) {
369-
#ifdef ESP32
369+
#ifndef UNIX
370370
ESP_LOGE("extmod/uzlib/tinflate", "dictionary not large enough! offs=%d, dict=%d", offs, d->dict_size);
371371
#endif
372372
return TINF_DICT_ERROR;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy