:: commit 373317bbfecfe791d7da3dc5cd7903e2205801d3

Kamila Szewczyk <27734421+kspalaiologos@users.noreply.github.com> — 2022-05-07 17:53

parents: ee2bdb3622

Update PORTING.md

diff --git a/PORTING.md b/PORTING.md
index a6c7235..8f76a5c 100644
--- a/PORTING.md
+++ b/PORTING.md
@@ -2,5 +2,5 @@
 ## Windows
 
 Porting to Windows shouldn't be hard when using Cygwin. Make sure that you have installed all the relevant packages (clang, 32-bit gcc if required, make, git).
-There are a few rudimentary fixes that need to be built BZip3 on Windows, like with every Linux software. The first tweak is removing `-fPIC` from the Makefile, as Windows doesn't need it. Next, you will need to open `include\common.h`, find the `#define PUBLIC_API` line and define `PUBLIC_API` as `__declspec(dllexport)`.
-The final tweak is adjusting the C compiler if needed (the `CC` variable in the Makefile), fixing extensions to match Windows expectations (`bzip3` => `bzip3.exe`, `libbzip3.so` => `libbzip3.dll`). 
+
+There are a few rudimentary fixes that need to be applied to build BZip3 on Windows, like with every Linux software. The first tweak is removing `-fPIC` from the Makefile, as Windows doesn't need it. Next, you will need to open `include\common.h`, find the `#define PUBLIC_API` line and define `PUBLIC_API` as `__declspec(dllexport)`. The final tweak is adjusting the C compiler if needed (the `CC` variable in the Makefile), fixing extensions to match Windows expectations (`bzip3` => `bzip3.exe`, `libbzip3.so` => `libbzip3.dll`). 
tab: 248 wrap: offon