/
githubmirror
/
postgres
Обзор
Документация
Войти
/
githubmirror
/
postgres
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/template/win32
14 строк
495 B
Peter Eisentraut
thread-safety: gmtime_r(), localtime_r()
23 авг 2024, 08:43
23 авг 2024, 08:43
a2bbc58
Код
Авторство
О чём код?
# src/template/win32 # define before including <time.h> for getting localtime_r() etc. on MinGW CPPFLAGS="$CPPFLAGS -D_POSIX_C_SOURCE" # Extra CFLAGS for code that will go into a shared library CFLAGS_SL="" # --allow-multiple-definition is required to link pg_dump because it finds # pg_toupper() etc. in both libpq and pgport # --disable-auto-import is to ensure we get MSVC-like linking behavior LDFLAGS="$LDFLAGS -Wl,--allow-multiple-definition -Wl,--disable-auto-import" DLSUFFIX=".dll"