From 05b16b71f53b0a6244bd06da5cf74363b4de0b4a Mon Sep 17 00:00:00 2001 From: Vincent Parrett Date: Wed, 21 Aug 2024 17:01:07 +1000 Subject: [PATCH] fixed compilation error on non windows platforms --- Source/VSoft.Ulid.pas | 1 + VSoft.Ulid.dspec | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/VSoft.Ulid.pas b/Source/VSoft.Ulid.pas index 3412d80..1740a30 100644 --- a/Source/VSoft.Ulid.pas +++ b/Source/VSoft.Ulid.pas @@ -332,6 +332,7 @@ function UNIXTimeInMilliseconds: UInt64;inline; // NowUtc only available in 11.3 or later. // this is slow. function UNIXTimeInMilliseconds: UInt64;inline; +var DT: TDateTime; begin DT := TDateTime.NowUTC; diff --git a/VSoft.Ulid.dspec b/VSoft.Ulid.dspec index 2a468c3..ec26011 100644 --- a/VSoft.Ulid.dspec +++ b/VSoft.Ulid.dspec @@ -1,7 +1,7 @@ { "metadata": { "id": "VSoft.Ulid", - "version": "1.1.0", + "version": "1.1.1", "description": "ULID generator/parser - Universally Unique Lexicographically Sortable Identifier\r\n", "authors": "Vincent Parrett", "projectUrl": "https://github.com/VSoftTechnologies/VSoft.Ulid",