Skip to content

Commit

Permalink
Check for msys2/cygwin
Browse files Browse the repository at this point in the history
  • Loading branch information
lfittl committed Jan 1, 2024
1 parent ed51ac7 commit 9687a04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/pg_config_overrides.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
#define USE_WIN32_SEMAPHORES 1
#define USE_WIN32_SHARED_MEMORY 1
#undef PG_PRINTF_ATTRIBUTE
#if defined(__MINGW32__) || defined(__MINGW64__)
#if defined(__MINGW32__) || defined(__MINGW64__) || defined(__MSYS__) || defined(__CYGWIN__)
#define PG_PRINTF_ATTRIBUTE gnu_printf
#undef HAVE_MBSTOWCS_L
#undef HAVE_WCSTOMBS_L
Expand Down
2 changes: 1 addition & 1 deletion src/postgres/include/pg_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -925,7 +925,7 @@
#define USE_WIN32_SEMAPHORES 1
#define USE_WIN32_SHARED_MEMORY 1
#undef PG_PRINTF_ATTRIBUTE
#if defined(__MINGW32__) || defined(__MINGW64__)
#if defined(__MINGW32__) || defined(__MINGW64__) || defined(__MSYS__) || defined(__CYGWIN__)
#define PG_PRINTF_ATTRIBUTE gnu_printf
#undef HAVE_MBSTOWCS_L
#undef HAVE_WCSTOMBS_L
Expand Down

0 comments on commit 9687a04

Please sign in to comment.