Skip to content

Commit f811105

Browse files
committed
fix: ptrdiff_t
1 parent 2bf3b96 commit f811105

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

boringssl.nim

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
import std/[os, strutils]
88

9+
type ptrdiff_t* {.importc: "ptrdiff_t", header: "<stddef.h>".} = int
10+
911
# ----- toolchain + includes -----
1012
{.localPassC: "-DBORINGSSL_IMPLEMENTATION -DS2N_BN_HIDE_SYMBOLS".}
1113

boringssl.nimble

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
packageName = "boringssl"
2-
version = "0.0.2"
2+
version = "0.0.3"
33
author = "Status Research & Development GmbH"
44
description = "Nim ffi bindings for boringssl"
55
license = "MIT"

prelude.nim

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
import std/[os, strutils]
88

9+
type ptrdiff_t* {.importc: "ptrdiff_t", header: "<stddef.h>".} = int
10+
911
# ----- toolchain + includes -----
1012
{.localPassC: "-DBORINGSSL_IMPLEMENTATION -DS2N_BN_HIDE_SYMBOLS".}
1113

0 commit comments

Comments
 (0)