From a0581f2538d4ea2d5f505f4b5d4259256ddac3c9 Mon Sep 17 00:00:00 2001 From: Adam Wilson Date: Sun, 23 Feb 2025 16:58:46 -0800 Subject: [PATCH] Fix deprecation message. --- druntime/src/core/sys/windows/sqltypes.d | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/druntime/src/core/sys/windows/sqltypes.d b/druntime/src/core/sys/windows/sqltypes.d index 9aa03d1912..ca91f01585 100644 --- a/druntime/src/core/sys/windows/sqltypes.d +++ b/druntime/src/core/sys/windows/sqltypes.d @@ -11,7 +11,6 @@ $(RED Warning: */ module core.sys.windows.sqltypes; -deprecated ("The ODBC 3.5 modules are deprecated. Please use the ODBC4 modules in the `etc.c.odbc` package."): version (Windows): version (ANSI) {} else version = Unicode; @@ -71,6 +70,10 @@ alias long ODBCINT64, SQLBIGINT; alias ulong SQLUBIGINT; //} +//Everything above this line may by used by odbcinst.d +//Everything below this line is deprecated +deprecated ("The ODBC 3.5 modules are deprecated. Please use the ODBC4 modules in the `etc.c.odbc` package."): + struct DATE_STRUCT { SQLSMALLINT year; SQLUSMALLINT month;