Skip to content

Commit 4330d7c

Browse files
authored
Merge pull request #134 from JacobBarthelmeh/test
check for defined MAX_FILENAME_SZ before defining it
2 parents 714ad4e + 26e789e commit 4330d7c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

wolfclu/clu_header_main.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,9 @@ extern "C" {
111111
#endif
112112
#define MAX_TERM_WIDTH 80
113113
#define MAX_THREADS 64
114-
#define MAX_FILENAME_SZ 256
114+
#ifndef MAX_FILENAME_SZ
115+
#define MAX_FILENAME_SZ 256
116+
#endif
115117
#define CLU_4K_TYPE 4096
116118
#if LIBWOLFSSL_VERSION_HEX >= 50413568 /* int val of hex 0x0301400 = 50413568 */
117119
#define CLU_SHA256 WC_SHA256

0 commit comments

Comments
 (0)