summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshua Watt <JPEW.hacker@gmail.com>2019-07-02 15:05:44 -0500
committerMark Wielaard <mark@klomp.org>2019-07-05 00:13:11 +0200
commit53f3d0d71c3c445bc4ac413d42c4386381e47b49 (patch)
treef90040534114146f9b8678a8d9a2f5e2e5d06669
parentAlways treat .ref files as binary (diff)
downloadbzip2-53f3d0d71c3c445bc4ac413d42c4386381e47b49.tar.gz
bzip2-53f3d0d71c3c445bc4ac413d42c4386381e47b49.tar.bz2
bzip2-53f3d0d71c3c445bc4ac413d42c4386381e47b49.tar.xz
Fix include path separator
Changes the include path separator for Windows builds to use "/" instead of "\". Windows has no problems with using a forward slash as a path separator, but using a backslash causes problems when attempting to cross compile for other platforms (for example, when trying to cross compile for MinGW from Linux).
-rw-r--r--bzip2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bzip2.c b/bzip2.c
index e362c65..be3b3be 100644
--- a/bzip2.c
+++ b/bzip2.c
@@ -128,7 +128,7 @@
128#if BZ_LCCWIN32 128#if BZ_LCCWIN32
129# include <io.h> 129# include <io.h>
130# include <fcntl.h> 130# include <fcntl.h>
131# include <sys\stat.h> 131# include <sys/stat.h>
132 132
133# define NORETURN /**/ 133# define NORETURN /**/
134# define PATH_SEP '\\' 134# define PATH_SEP '\\'