Skip to content

Commit 8f8acfd

Browse files
authored
Fix for mingw-w64 Windows build (#597)
1 parent eeb08b1 commit 8f8acfd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libbson/src/bson/bson-macros.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@
176176
#define bson_str_empty0(s) (!s || !s[0])
177177

178178

179-
#if defined(_WIN32)
179+
#if defined(_MSC_VER)
180180
#define BSON_FUNC __FUNCTION__
181181
#elif defined(__STDC_VERSION__) && __STDC_VERSION__ < 199901L
182182
#define BSON_FUNC __FUNCTION__

0 commit comments

Comments
 (0)