sapling/cdatapack
Kostia Balytskyi bb22e387cb cdatapack: add some windows portability
Summary:
This is a first set of changes to help `cdatapack` compile on Windows. Second
set will include adding some way of using `mman` on Windows.

Test Plan:
- `make local` on Linux, `rt`
- with some intermediary solution for `mman` this also builds on Windows 10,
  I was able to produce `cdatapack_get.exe` and `cdatapack_dump.exe`. Here's an
  example:
```
PS C:\Code\fb-hg-rpms\fb-hgext\cdatapack> .\cdatapack_get.exe 3ba0b10b8d251743a2692e042b114c1204b19d74 88dadb363234ec4fec3df85810810d6073288350

xplat/third-party/yarn/offline-mirror/smoothscroll-polyfill-0.3.5.tgz
Node                                      Delta Base                                Delta SHA1                                Delta Length
88dadb363234ec4fec3df85810810d6073288350  0000000000000000000000000000000000000000  466e6039b51cb525d70e1a5077ef81e064678eae  26057
```

Reviewers: durham, #fbhgext

Differential Revision: https://phab.mercurial-scm.org/D106
2017-07-18 03:21:28 -07:00
..
cdatapack_dump.c convert: unify two sources and clean it up 2017-05-23 11:57:12 -07:00
cdatapack_get.c codemod: better #includes 2017-05-23 11:57:32 -07:00
cdatapack.c cdatapack: add some windows portability 2017-07-18 03:21:28 -07:00
cdatapack.h portibility: move to clib 2017-05-23 11:47:40 -07:00
Makefile remotefilelog: let content stores support metadata 2017-04-26 19:50:36 -07:00