summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-10-26 19:10:07 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-10-26 19:10:07 +0900
commit1da72bf7afc74707d56ff04681a2e5044ba0beb2 (patch)
treeddc877e23aecfad55d7eb079290db492488c0a53
parent8106c13801f2c41145200baa68fa65f16597f0fd (diff)
downloadklamav-1da72bf7afc74707d56ff04681a2e5044ba0beb2.tar.gz
klamav-1da72bf7afc74707d56ff04681a2e5044ba0beb2.zip
Drop Borland compiler specific code
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--src/sqlite/os.h2
-rw-r--r--src/sqlite/sqlite3.h2
-rw-r--r--src/sqlite/sqliteInt.h2
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