Skip to content

Commit

Permalink
better define
Browse files Browse the repository at this point in the history
  • Loading branch information
paleolimbot committed Oct 7, 2023
1 parent adb5d0b commit bb69431
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c/driver/common/utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ int AdbcStatusCodeToErrno(AdbcStatusCode code);

// On mingw we have to specify a slightly different format attribute and ensure
// that we use the version that knows how to deal with %lld
#if defined(_WIN32) && !defined(MSVC)
#if defined(__MINGW32__)
#define __USE_MINGW_ANSI_STDIO 1
#define ADBC_CHECK_PRINTF_ATTRIBUTE __attribute__((format(__MINGW_PRINTF_FORMAT, 2, 3)))
#else
Expand Down

0 comments on commit bb69431

Please sign in to comment.