Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: kuba--/zip
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: kuba--/zip
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: msvc-6.0
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 3 files changed
  • 1 contributor

Commits on Jun 25, 2022

  1. Port to MSVC 6.0 (#259)

    * Port to MSVC 6.0
    
    - Change comments to be ANSI C style
    - Use MSVC-specific __int* types instead of stdint
    - Replace unsigned long long type with a unsigned __int64 (introducing a zip_ull typedef)
    - Remove calls to MS-specific functions that did not exist in MSVC 6.0:
      - _wfopen_s -> _wfopen
      - _wfreopen_s -> _wfreopen
      - _wstat64 -> wstati64 (along with _stat64 struct)
      - _ftelli64 -> ftell
      - _fseeki64 -> fseek
      - localtime_s -> localtime
      - _chsize_s -> _chsize
      - strcpy_s -> strcpy
      - strncpy_s -> strncpy
    - Use __inline attribute instead of inline
    - Move variable definitions to the start of the blocks
    
    * Fix formatting
    
    * Add a forgotten #if defined(_MSC_VER)
    DCNick3 authored and kuba-- committed Jun 25, 2022
    Configuration menu
    Copy the full SHA
    989dc87 View commit details
    Browse the repository at this point in the history
Loading