config fixes
This commit is contained in:
parent
2053c44054
commit
6b93b8ee5a
2
C/save.c
2
C/save.c
@ -1553,7 +1553,7 @@ OpenRestore(char *inpf, char *YapLibDir, CELL *Astate, CELL *ATrail, CELL *AStac
|
||||
!(fatts & FILE_ATTRIBUTE_DIRECTORY)) {
|
||||
/* couldn't find it where it was supposed to be,
|
||||
let's try using the executable */
|
||||
if (!GetModuleFileNameEx( GetCurrentProcess(), NULL, LOCAL_FileNameBuf, YAP_FILENAME_MAX)) {
|
||||
if (!GetModuleFileName( GetCurrentProcess(), LOCAL_FileNameBuf, YAP_FILENAME_MAX)) {
|
||||
/* do nothing */
|
||||
goto end;
|
||||
}
|
||||
|
@ -276,7 +276,7 @@ Yap_InitSysPath(void) {
|
||||
|
||||
/* couldn't find it where it was supposed to be,
|
||||
let's try using the executable */
|
||||
if (!GetModuleFileNameEx( GetCurrentProcess(), NULL, LOCAL_FileNameBuf, YAP_FILENAME_MAX)) {
|
||||
if (!GetModuleFileName( GetCurrentProcess(), LOCAL_FileNameBuf, YAP_FILENAME_MAX)) {
|
||||
Yap_Error(OPERATING_SYSTEM_ERROR, TermNil, "could not find executable name");
|
||||
/* do nothing */
|
||||
return;
|
||||
|
2
configure
vendored
2
configure
vendored
@ -13484,7 +13484,7 @@ fi
|
||||
if test "$yap_cv_zlib" != no;
|
||||
then
|
||||
old_cppflags="$CPPFLAGS"
|
||||
old_libs="$LDFLAGS"
|
||||
old_libs="$LIBS"
|
||||
ZLIB_TARGETS=nolib
|
||||
|
||||
if test "$yap_cv_zlib" != yes;
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit f2517a4e893bacbad21273eb578dadf9bf0f4ca1
|
||||
Subproject commit e6cdb888a685628d07897e9dabb249f527846532
|
Reference in New Issue
Block a user