trivial diff: runtime/init.h bug fix

Fergus Henderson fjh at cs.mu.oz.au
Wed Nov 19 09:18:40 AEDT 1997


Estimated hours taken: 0.5

runtime/init.h:
	Fix a bug: it was doing `#ifdef USE_DLLS' without first #including
	conf.h, which is where USE_DLLS is defined.

cvs diff: Diffing .
Index: init.h
===================================================================
RCS file: /home/staff/zs/imp/mercury/runtime/init.h,v
retrieving revision 1.21
diff -u -u -r1.21 init.h
--- init.h	1997/10/01 13:22:24	1.21
+++ init.h	1997/10/30 12:30:34
@@ -20,6 +20,7 @@
 ** The following must come before any definitions of global variables.
 ** This is necessary to support DLLs on Windows.
 */
+#include "conf.h" /* for USE_DLLS */
 #if USE_DLLS
   #include "libmer_dll.h"
 #endif
-- 
Fergus Henderson <fjh at cs.mu.oz.au>   |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>   |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3         |     -- the last words of T. S. Garp.



More information about the developers mailing list