Fossil

Check-in [c6ae8584]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix build errors when using MSVC version that has no 'stdint.h'
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: c6ae8584b1bd13c70bdd9ea9890cc371b88d451b97456f78238727b227d27963
User & Date: ashepilko 2020-01-09 23:02:52
Context
2020-01-11
01:00
Explained the "language-WORD" CSS styling used with fenced code blocks in Markdown within md_rules. check-in: 06a3361d user: wyoung tags: trunk
2020-01-09
23:50
Merge in trunk Leaf check-in: 001eb6d5 user: ashepilko tags: cmake-ide
23:02
Fix build errors when using MSVC version that has no 'stdint.h' check-in: c6ae8584 user: ashepilko tags: trunk
21:03
Change the build options for SQLite so that it distrusts schema by default. check-in: 31be929a user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/config.h.

175
176
177
178
179
180
181


182
183
184
185
186
187
188

#if !defined(_RC_COMPILE_) && !defined(SQLITE_AMALGAMATION)

/*
** MSVC does not include the "stdint.h" header file until 2010.
*/
#if defined(_MSC_VER) && _MSC_VER<1600


   typedef __int32 int32_t;
   typedef unsigned __int32 uint32_t;
   typedef __int64 int64_t;
   typedef unsigned __int64 uint64_t;
#else
#  include <stdint.h>
#endif







>
>







175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190

#if !defined(_RC_COMPILE_) && !defined(SQLITE_AMALGAMATION)

/*
** MSVC does not include the "stdint.h" header file until 2010.
*/
#if defined(_MSC_VER) && _MSC_VER<1600
   typedef __int8 int8_t;
   typedef unsigned __int8 uint8_t;
   typedef __int32 int32_t;
   typedef unsigned __int32 uint32_t;
   typedef __int64 int64_t;
   typedef unsigned __int64 uint64_t;
#else
#  include <stdint.h>
#endif

Changes to src/fuzz.c.

49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
**   fossil-fuzz cases
**
** The default is to fuzz the Fossil-wiki translator.  Use the --fuzztype TYPE
** option to fuzz different aspects of the system.
*/
#include "config.h"
#include "fuzz.h"
#include <stdint.h>

#if LOCAL_INTERFACE
/*
** Type of fuzzing:
*/
#define FUZZ_WIKI       0      /* The Fossil-Wiki formatter */
#define FUZZ_MARKDOWN   1      /* The Markdown formatter */







<







49
50
51
52
53
54
55

56
57
58
59
60
61
62
**   fossil-fuzz cases
**
** The default is to fuzz the Fossil-wiki translator.  Use the --fuzztype TYPE
** option to fuzz different aspects of the system.
*/
#include "config.h"
#include "fuzz.h"


#if LOCAL_INTERFACE
/*
** Type of fuzzing:
*/
#define FUZZ_WIKI       0      /* The Fossil-Wiki formatter */
#define FUZZ_MARKDOWN   1      /* The Markdown formatter */