libbacktrace: look for _pgmptr on Windows

Patch from Andres Freund:
	* configure.ac: Check for _pgmptr declaration.
	* fileline.c (fileline_initialize): Check for _pgmfptr before
	/proc/self/exec.
	* configure, config.h.in: Regenerate.
This commit is contained in:
Ian Lance Taylor
2023-07-31 16:14:58 -07:00
parent cdb64b688d
commit c1c86fa2f0
4 changed files with 41 additions and 6 deletions

View File

@@ -20,6 +20,10 @@
don't. */
#undef HAVE_DECL_STRNLEN
/* Define to 1 if you have the declaration of `_pgmptr', and to 0 if you
don't. */
#undef HAVE_DECL__PGMPTR
/* Define to 1 if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H