comparison src/sysdll.c @ 5825:5d5aeb79edb4

Fix build with g++. This patch fixes various issues that cause build failures with g++ 4.8.3. See <CAHCOHQ=6yKcjQELvG8FOHXcWVez+HufUWb4FdcJKpUNhm+8B=g@mail.gmail.com> in xemacs-patches.
author Jerry James <james@xemacs.org>
date Thu, 06 Nov 2014 09:34:06 -0700
parents 4dee0387b9de
children 574f0cded429
comparison
equal deleted inserted replaced
5824:6928877dbc26 5825:5d5aeb79edb4
452 int errorNumber; 452 int errorNumber;
453 const Extbyte *fileNameWithError, *errorString; 453 const Extbyte *fileNameWithError, *errorString;
454 NSLinkEditError (&c, &errorNumber, &fileNameWithError, &errorString); 454 NSLinkEditError (&c, &errorNumber, &fileNameWithError, &errorString);
455 return build_extstring (errorString, Qerror_message_encoding); 455 return build_extstring (errorString, Qerror_message_encoding);
456 } 456 }
457 #elif HAVE_LTDL 457 #elif defined(HAVE_LTDL)
458 /* Libtool's libltdl */ 458 /* Libtool's libltdl */
459 #include <ltdl.h> 459 #include <ltdl.h>
460 460
461 dll_handle 461 dll_handle
462 dll_open (Lisp_Object fname) 462 dll_open (Lisp_Object fname)