Skip to content

Commit

Permalink
Fix C preprocessor error
Browse files Browse the repository at this point in the history
  • Loading branch information
AjayP13 committed Nov 15, 2018
1 parent 59eaff3 commit 8093a46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion supersqlite/third_party/HOWTOUPGRADE.MD
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ There are a few components that need updating when updating the version of `sqli
8. **Update `miniz`:** The source code is available on [GitHub](https://github.com/richgel999/miniz). Rename `miniz.h` to `zlib.h` and `miniz.c` to `zlib.c` and place all of the `.c` and `.h` files in the project root under `third_party/sqlite3/`. Modify the `zlib.c`, `miniz_zip.h`, and `miniz_tdef.c` file's `#include "miniz.h"` with `#include "zlib.h"`. Also add the follwing:
```c
#if __linux
#define _LARGEFILE64_SOURCE=1
#define _LARGEFILE64_SOURCE 1
#endif
```
to the top of `zlib.h`.
Expand Down
2 changes: 1 addition & 1 deletion supersqlite/third_party/sqlite3/zlib.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#if __linux
#define _LARGEFILE64_SOURCE=1
#define _LARGEFILE64_SOURCE 1
#endif
/* miniz.c 2.0.8 - public domain deflate/inflate, zlib-subset, ZIP reading/writing/appending, PNG writing
See "unlicense" statement at the end of this file.
Expand Down

0 comments on commit 8093a46

Please sign in to comment.