Mailing List Archive

svn commit: rev 6638 - in incubator/spamassassin/trunk: . spamc
Author: mss
Date: Fri Feb 13 05:37:51 2004
New Revision: 6638

Modified:
incubator/spamassassin/trunk/Makefile.PL
incubator/spamassassin/trunk/spamc/utils.c
Log:
bug 3041: Some Windows-related fixes sumbitted by Sidney.


Modified: incubator/spamassassin/trunk/Makefile.PL
==============================================================================
--- incubator/spamassassin/trunk/Makefile.PL (original)
+++ incubator/spamassassin/trunk/Makefile.PL Fri Feb 13 05:37:51 2004
@@ -785,7 +785,7 @@
sub _set_macro_PREPROCESS {

return if get_macro('PREPROCESS');
- set_macro('PREPROCESS', join(' ', macro_ref('PERLRUN'), qq{build/preprocessor}));
+ set_macro('PREPROCESS', join(' ', macro_ref('PERL_BIN'), qq{build/preprocessor}));
}

# This routine sets the value for CONFIGURE (spamc only).
@@ -797,7 +797,7 @@
sub _set_macro_CONFIGURE {

return if get_macro('CONFIGURE');
- set_macro('CONFIGURE', join(' ', macro_ref('PERLRUN'), qq{spamc/configure.pl}));
+ set_macro('CONFIGURE', join(' ', macro_ref('PERL_BIN'), qq{spamc/configure.pl}));
}



Modified: incubator/spamassassin/trunk/spamc/utils.c
==============================================================================
--- incubator/spamassassin/trunk/spamc/utils.c (original)
+++ incubator/spamassassin/trunk/spamc/utils.c Fri Feb 13 05:37:51 2004
@@ -18,13 +18,13 @@
#ifndef _WIN32
#include <unistd.h>
#include <sys/uio.h>
+#include <sys/types.h>
+#include <sys/socket.h>
#else
typedef int ssize_t;
#endif
#include <errno.h>
#include <signal.h>
-#include <sys/types.h>
-#include <sys/socket.h>
#include <stdio.h>
#include "utils.h"