Commit b0879363 authored by sewardj's avatar sewardj

[project @ 2000-12-14 10:36:49 by sewardj]

Wrap entire file in #ifdef GHCI, to create link errors if malconfigured
parent 4162bbab
/* -----------------------------------------------------------------------------
* $Id: Linker.c,v 1.3 2000/12/12 12:19:57 simonmar Exp $
* $Id: Linker.c,v 1.4 2000/12/14 10:36:49 sewardj Exp $
*
* (c) The GHC Team, 2000
*
......@@ -21,6 +21,8 @@
/* ToDo: configure this */
#include <dlfcn.h>
#ifdef GHCI /* endif is right at end of file */
/* A bucket in the symbol hash-table. Primarily, maps symbol names to
* absolute addresses. All symbols from a given module are linked
* together, so they can be freed at the same time. There's also a
......@@ -1443,3 +1445,4 @@ is_not_dynamically_loaded_ptr ( char* p )
return (sk == SECTIONKIND_OTHER);
}
#endif /* GHCI */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment