summaryrefslogtreecommitdiffstats
path: root/connectivity/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-18 16:39:59 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-19 08:19:38 +0100
commit697f01e052ae73e88d7e1a37386f2648d57e12e2 (patch)
tree6dc879a6307ad905b909e0eb88bb143899806279 /connectivity/source
parentDon't set autogen.sh KEY=VALUE arguments as environment variables (diff)
downloadcore-697f01e052ae73e88d7e1a37386f2648d57e12e2.tar.gz
core-697f01e052ae73e88d7e1a37386f2648d57e12e2.zip
SAL_W32 is just an alias for _WIN32
...so consistently use the latter instead of the former Change-Id: I144d5e7c472632f93b2258461510346bc85892d9 Reviewed-on: https://gerrit.libreoffice.org/48135 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'connectivity/source')
-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;