summaryrefslogtreecommitdiff
path: root/remake.c
diff options
context:
space:
mode:
Diffstat (limited to 'remake.c')
-rw-r--r--remake.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/remake.c b/remake.c
index 8eb6a5d..33824af 100644
--- a/remake.c
+++ b/remake.c
@@ -32,6 +32,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#ifdef VMS
#include <starlet.h>
#endif
+#ifdef WIN32
+#include <io.h>
+#endif
extern int try_implicit_rule PARAMS ((struct file *file, unsigned int depth));
@@ -1104,6 +1107,13 @@ library_search (lib, mtime_ptr)
"/lib",
"/usr/lib",
#endif
+#if defined(WIN32) && !defined(LIBDIR)
+/*
+ * This is completely up to the user at product install time. Just define
+ * a placeholder.
+ */
+#define LIBDIR "."
+#endif
LIBDIR, /* Defined by configuration. */
0
};