Skip to content

Commit 70b20e2

Browse files
Fix: Windows MSVC compilation (#292)
Closes #290
1 parent 14d1545 commit 70b20e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/stringzilla/types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@
196196
* void lookup(uint8_t const lut[sz_at_least_(256)]);
197197
* @endcode
198198
*/
199-
#if defined(__cplusplus)
199+
#if defined(__cplusplus) || defined(_MSC_VER)
200200
#define sz_at_least_(n)
201201
#else
202202
#define sz_at_least_(n) static n

0 commit comments

Comments
 (0)