From 7fe6dedb623b9bc781df9e68b53e354c73034090 Mon Sep 17 00:00:00 2001 From: jgirvin-venturi <108651321+jgirvin-venturi@users.noreply.github.com> Date: Sat, 20 Aug 2022 05:40:17 +1000 Subject: [PATCH] Adds missing SEEK_ POSIX constants for FreeRTOS (#20241) --- lib/posix/posix_freertos_consts.nim | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/posix/posix_freertos_consts.nim b/lib/posix/posix_freertos_consts.nim index ca500534a..0f0fc0aae 100644 --- a/lib/posix/posix_freertos_consts.nim +++ b/lib/posix/posix_freertos_consts.nim @@ -500,3 +500,7 @@ const F_TEST* = cint(3) const F_TLOCK* = cint(2) const F_ULOCK* = cint(0) +# +const SEEK_SET* = cint(0) +const SEEK_CUR* = cint(1) +const SEEK_END* = cint(2)