diff options
author | Joshua Watt <JPEW.hacker@gmail.com> | 2019-07-02 15:05:44 -0500 |
---|---|---|
committer | Mark Wielaard <mark@klomp.org> | 2019-07-05 00:13:11 +0200 |
commit | 53f3d0d71c3c445bc4ac413d42c4386381e47b49 (patch) | |
tree | f90040534114146f9b8678a8d9a2f5e2e5d06669 | |
parent | 61b434b4ef28b5e3cbf8665d6829b08b405e0899 (diff) | |
download | bzip2-53f3d0d71c3c445bc4ac413d42c4386381e47b49.tar.gz bzip2-53f3d0d71c3c445bc4ac413d42c4386381e47b49.tar.bz2 bzip2-53f3d0d71c3c445bc4ac413d42c4386381e47b49.zip |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 '\\' |