diff 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
line wrap: on
line diff
--- a/src/sysdll.c	Sat Oct 25 15:59:31 2014 +0200
+++ b/src/sysdll.c	Thu Nov 06 09:34:06 2014 -0700
@@ -454,7 +454,7 @@
   NSLinkEditError (&c, &errorNumber, &fileNameWithError, &errorString);
   return build_extstring (errorString, Qerror_message_encoding);
 }
-#elif HAVE_LTDL
+#elif defined(HAVE_LTDL)
 /* Libtool's libltdl */
 #include <ltdl.h>