From 1da72bf7afc74707d56ff04681a2e5044ba0beb2 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 26 Oct 2024 19:10:07 +0900 Subject: [PATCH] Drop Borland compiler specific code Signed-off-by: Michele Calgaro --- src/sqlite/os.h | 2 +- src/sqlite/sqlite3.h | 2 +- src/sqlite/sqliteInt.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/sqlite/os.h b/src/sqlite/os.h index 4854964..1434c9f 100644 --- a/src/sqlite/os.h +++ b/src/sqlite/os.h @@ -26,7 +26,7 @@ #if !defined(OS_UNIX) && !defined(OS_TEST) && !defined(OS_OTHER) # define OS_OTHER 0 # ifndef OS_WIN -# if defined(_WIN32) || defined(WIN32) || defined(__CYGWIN__) || defined(__MINGW32__) || defined(__BORLANDC__) +# if defined(_WIN32) || defined(WIN32) || defined(__CYGWIN__) || defined(__MINGW32__) # define OS_WIN 1 # define OS_UNIX 0 # else diff --git a/src/sqlite/sqlite3.h b/src/sqlite/sqlite3.h index 1a87067..6c5078d 100644 --- a/src/sqlite/sqlite3.h +++ b/src/sqlite/sqlite3.h @@ -78,7 +78,7 @@ typedef struct sqlite3 sqlite3; ** to do a typedef that for 64-bit integers that depends on what compiler ** is being used. */ -#if defined(_MSC_VER) || defined(__BORLANDC__) +#if defined(_MSC_VER) typedef __int64 sqlite_int64; typedef unsigned __int64 sqlite_uint64; #else diff --git a/src/sqlite/sqliteInt.h b/src/sqlite/sqliteInt.h index c4f723f..5edba2b 100644 --- a/src/sqlite/sqliteInt.h +++ b/src/sqlite/sqliteInt.h @@ -155,7 +155,7 @@ ** cc '-DUINTPTR_TYPE=long long int' ... */ #ifndef UINT64_TYPE -# if defined(_MSC_VER) || defined(__BORLANDC__) +# if defined(_MSC_VER) # define UINT64_TYPE unsigned __int64 # else # define UINT64_TYPE unsigned long long int