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 |
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 @@ #if BZ_LCCWIN32 # include <io.h> # include <fcntl.h> -# include <sys\stat.h> +# include <sys/stat.h> # define NORETURN /**/ # define PATH_SEP '\\' |