33d24ca22a
LDFLAGS is exported automatically, but add -lmd for DragonFly.
14 lines
489 B
Text
14 lines
489 B
Text
$NetBSD: patch-ab,v 1.2 2006/01/08 21:42:42 joerg Exp $
|
|
|
|
--- xfers.cpp.orig 2003-05-31 11:54:02.000000000 -0400
|
|
+++ xfers.cpp 2003-05-31 11:54:27.000000000 -0400
|
|
@@ -30,6 +30,9 @@
|
|
#define IS_VALID(x) (m_validbf[(x)>>3]&(1<<(x&7)))
|
|
#define SET_VALID(x) m_validbf[(x)>>3]|=(1<<(x&7))
|
|
|
|
+#if defined(__NetBSD__) || defined(__DragonFly__)
|
|
+#define RemoveDirectory(x) rmdir(x)
|
|
+#endif
|
|
|
|
XferSend::XferSend(C_MessageQueueList *mql,T_GUID *guid, C_FileSendRequest *req, char *fn)
|
|
{
|