summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/nmblookup.c4
-rw-r--r--source3/utils/status.c4
-rw-r--r--source3/utils/torture.c4
3 files changed, 3 insertions, 9 deletions
diff --git a/source3/utils/nmblookup.c b/source3/utils/nmblookup.c
index 59d5771c5d2..551d453dba2 100644
--- a/source3/utils/nmblookup.c
+++ b/source3/utils/nmblookup.c
@@ -20,9 +20,7 @@
*/
-#ifdef SYSLOG
-#undef SYSLOG
-#endif
+#define NO_SYSLOG
#include "includes.h"
diff --git a/source3/utils/status.c b/source3/utils/status.c
index 2900d3acbe5..8ece6ed4c1c 100644
--- a/source3/utils/status.c
+++ b/source3/utils/status.c
@@ -32,9 +32,7 @@
* This program reports current SMB connections
*/
-#ifdef SYSLOG
-#undef SYSLOG
-#endif
+#define NO_SYSLOG
#include "includes.h"
diff --git a/source3/utils/torture.c b/source3/utils/torture.c
index 1abfee05412..53226d00e6d 100644
--- a/source3/utils/torture.c
+++ b/source3/utils/torture.c
@@ -19,9 +19,7 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#ifdef SYSLOG
-#undef SYSLOG
-#endif
+#define NO_SYSLOG
#include "includes.h"