summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/postgresql/pq_connection.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/postgresql/pq_connection.cxx')
-rw-r--r--connectivity/source/drivers/postgresql/pq_connection.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_connection.cxx b/connectivity/source/drivers/postgresql/pq_connection.cxx
index 6c5eb35ed5df..590f38752729 100644
--- a/connectivity/source/drivers/postgresql/pq_connection.cxx
+++ b/connectivity/source/drivers/postgresql/pq_connection.cxx
@@ -668,7 +668,7 @@ void log(ConnectionSettings *settings, LogLevel nLevel, const char *str)
time_t t = ::time( nullptr );
char *pString;
-#ifdef SAL_W32
+#ifdef _WIN32
pString = asctime( localtime( &t ) );
#else
struct tm timestruc;