Skip to content
Snippets Groups Projects
  • Ian Lance Taylor's avatar
    8b2e510c
    libbacktrace: call GetModuleFileNameA on Windows · 8b2e510c
    Ian Lance Taylor authored
    Patch from Björn Schäpers.
    
    	* fileline.c: Include <windows.h> if available.
    	(windows_get_executable_path): New static function.
    	(fileline_initialize): Call windows_get_executable_path.
    	* configure.ac: Checked for windows.h
    	* configure: Regenerate.
    	* config.h.in: Regenerate.
    8b2e510c
    History
    libbacktrace: call GetModuleFileNameA on Windows
    Ian Lance Taylor authored
    Patch from Björn Schäpers.
    
    	* fileline.c: Include <windows.h> if available.
    	(windows_get_executable_path): New static function.
    	(fileline_initialize): Call windows_get_executable_path.
    	* configure.ac: Checked for windows.h
    	* configure: Regenerate.
    	* config.h.in: Regenerate.