aboutsummaryrefslogtreecommitdiff
path: root/src/lib/log
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-27 12:35:48 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-27 12:35:48 -0400
commit3d606dddb9a104466906069bd21acbdfb1270b58 (patch)
tree284b78d6878058b25369f7cb6a57b226bf446daf /src/lib/log
parent1e2e0f7e461b4518b123c4050c3dbc786ac422c4 (diff)
downloadtor-3d606dddb9a104466906069bd21acbdfb1270b58.tar.gz
tor-3d606dddb9a104466906069bd21acbdfb1270b58.zip
fixup! Move format_win32_error into lib/log/
Diffstat (limited to 'src/lib/log')
-rw-r--r--src/lib/log/include.am7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/log/include.am b/src/lib/log/include.am
index 22b141d316..f0491b3863 100644
--- a/src/lib/log/include.am
+++ b/src/lib/log/include.am
@@ -9,8 +9,11 @@ src_lib_libtor_log_a_SOURCES = \
src/lib/log/escape.c \
src/lib/log/ratelim.c \
src/lib/log/torlog.c \
- src/lib/log/util_bug.c \
- src/lib/log/win32err.c
+ src/lib/log/util_bug.c
+
+if WIN32
+src_lib_libtor_log_a_SOURCES += src/lib/log/win32err.c
+endif
src_lib_libtor_log_testing_a_SOURCES = \
$(src_lib_libtor_log_a_SOURCES)