diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2013-03-19 16:44:12 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-03-20 11:34:18 +0100 |
commit | 52f8321c412cad280c9029f10f9aef03f4f20544 (patch) | |
tree | 9942cfe490f7107177ad69175be3039b0f20b32a /sal/osl/unx/salinit.cxx | |
parent | 151abb8b2b9d3a22229b98cec12e29484d12109b (diff) |
use #if instead of #ifdef for testing config_xxx.hxx macros
http://lists.freedesktop.org/archives/libreoffice/2013-March/047769.html
Change-Id: I81ed4500878ff3193e028410a1f0205e28d17fc3
Diffstat (limited to 'sal/osl/unx/salinit.cxx')
-rw-r--r-- | sal/osl/unx/salinit.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/osl/unx/salinit.cxx b/sal/osl/unx/salinit.cxx index 49fddeaeaf9f..327ca0e0d0c5 100644 --- a/sal/osl/unx/salinit.cxx +++ b/sal/osl/unx/salinit.cxx @@ -29,7 +29,7 @@ #include "sal/main.h" #include "sal/types.h" -#ifdef HAVE_SYSLOG_H +#if HAVE_SYSLOG_H #include <string.h> #include <syslog.h> // from sal/osl/all/log.cxx: @@ -64,7 +64,7 @@ void sal_detail_initialize(int argc, char ** argv) { close(fd); } #endif -#ifdef HAVE_SYSLOG_H +#if HAVE_SYSLOG_H const char *use_syslog = getenv("SAL_LOG_SYSLOG"); sal_use_syslog = use_syslog != NULL && !strcmp(use_syslog, "1"); if (sal_use_syslog) |