Skip to content

Commit

Permalink
Windows: json-c 0.17 compatibility with ssize_t type definition (part 2)
Browse files Browse the repository at this point in the history
Additional changes required for Visual Studio 0.103 build.
  • Loading branch information
val-ms committed Oct 20, 2023
1 parent 5ce1bc1 commit d1d9555
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion win32/clamav-config.h
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,8 @@
/* #undef off_t */

/* Define to `int' */
typedef int ssize_t;
#include <BaseTsd.h>
typedef SSIZE_T ssize_t;

/* Define to the equivalent of the C99 'restrict' keyword, or to
nothing if this is not supported. Do not define if restrict is
Expand Down
3 changes: 2 additions & 1 deletion win32/llvmbuild/include/llvm/System/DataTypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ typedef short int16_t;
typedef unsigned short uint16_t;
typedef signed char int8_t;
typedef unsigned char uint8_t;
typedef signed int ssize_t;
#include <BaseTsd.h>
typedef SSIZE_T ssize_t;
/* Certain compatibility updates to VC++ introduce the `cstdint'
* header, which defines the INT*_C macros. On default installs they
* are absent. */
Expand Down

0 comments on commit d1d9555

Please sign in to comment.