summaryrefslogtreecommitdiff
path: root/lib/sqfs/Makemodule.am
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-12-08 14:17:53 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-12-08 14:17:53 +0100
commitd98411f53939b7e308f186e5b61791677f3b0ad9 (patch)
treed284324dade1315e0508aea8a4ec821ece632b8c /lib/sqfs/Makemodule.am
parent9ea91c044106537453ae6e13368b60ce532c885c (diff)
Add native Windows port of the multi-threaded data writer
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/sqfs/Makemodule.am')
-rw-r--r--lib/sqfs/Makemodule.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/sqfs/Makemodule.am b/lib/sqfs/Makemodule.am
index dffca44..ad3b4de 100644
--- a/lib/sqfs/Makemodule.am
+++ b/lib/sqfs/Makemodule.am
@@ -45,8 +45,12 @@ if HAVE_PTHREAD
libsquashfs_la_SOURCES += lib/sqfs/data_writer/pthread.c
libsquashfs_la_CPPFLAGS += -DWITH_PTHREAD
else
+if WINDOWS
+libsquashfs_la_SOURCES += lib/sqfs/data_writer/windows.c
+else
libsquashfs_la_SOURCES += lib/sqfs/data_writer/serial.c
endif
+endif
if WITH_GZIP
libsquashfs_la_SOURCES += lib/sqfs/comp/gzip.c