in reply to Re^5: problem installing DBD::Pg
in thread problem installing DBD::Pg
strawberry-patched $ cat DBD-Pg-3.7.4_patched.diff diff -ru DBD-Pg-3.7.4/Pg.h DBD-Pg-3.7.4_patched/Pg.h --- DBD-Pg-3.7.4/Pg.h 2018-02-04 17:02:47.000000000 +0100 +++ DBD-Pg-3.7.4_patched/Pg.h 2018-04-07 17:59:19.010783900 +0200 @@ -14,9 +14,11 @@ static int errno; #include <string.h> #define strcasecmp(s1,s2) stricmp((s1), (s2)) +#ifndef __USE_MINGW_ANSI_STDIO #ifndef snprintf #define snprintf _snprintf #endif +#endif #else #include <strings.h> #endif
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: problem installing DBD::Pg
by syphilis (Archbishop) on Jan 23, 2020 at 13:11 UTC | |
by syphilis (Archbishop) on Jan 24, 2020 at 06:10 UTC |