diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2012-09-05 14:00:43 +0200 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2012-09-05 14:00:43 +0200 |
commit | eb1a37eb3dedb7bce6635faccc11ad83229e0622 (patch) | |
tree | 3aff7d4b34bc656bbe68ce549f42e5d414c6e105 | |
parent | a91b86f9561ed80b31cbe6c1d16237f5f835f845 (diff) | |
download | crawler-eb1a37eb3dedb7bce6635faccc11ad83229e0622.tar.gz crawler-eb1a37eb3dedb7bce6635faccc11ad83229e0622.tar.bz2 |
fixed syslog logger on Windows
-rwxr-xr-x | src/Makefile.W32 | 1 | ||||
-rwxr-xr-x[-rw-r--r--] | src/SyslogSink.cpp | 2 | ||||
-rwxr-xr-x | tests/logger/Makefile.W32 | 3 |
3 files changed, 4 insertions, 2 deletions
diff --git a/src/Makefile.W32 b/src/Makefile.W32 index fa6da19..6fe442f 100755 --- a/src/Makefile.W32 +++ b/src/Makefile.W32 @@ -13,6 +13,7 @@ INCLUDE_DIRS = \ INCLUDE_LDFLAGS = \ INCLUDE_LIBS = \ + Ws2_32.lib LOCAL_STATIC_LIB_OBJS = \ win32\errormsg.obj \ diff --git a/src/SyslogSink.cpp b/src/SyslogSink.cpp index 42b1ae3..5f9715e 100644..100755 --- a/src/SyslogSink.cpp +++ b/src/SyslogSink.cpp @@ -3,7 +3,7 @@ #ifndef _WIN32 #include <syslog.h> #else -#inclue "win32/syslog_win32.h" +#include "win32/syslog_win32.h" #endif using namespace std; diff --git a/tests/logger/Makefile.W32 b/tests/logger/Makefile.W32 index e6353ee..d9dd951 100755 --- a/tests/logger/Makefile.W32 +++ b/tests/logger/Makefile.W32 @@ -14,7 +14,8 @@ INCLUDE_DIRS = \ INCLUDE_LDFLAGS = \ INCLUDE_LIBS = \ - $(TOPDIR)\src\crawler.lib + $(TOPDIR)\src\crawler.lib \ + Ws2_32.lib TEST_CPP_BINS = \ test1.exe |