From 4bae43779f6241983670cdb09b709db1ba685cc2 Mon Sep 17 00:00:00 2001 From: robocop Date: Sun, 17 May 2009 11:25:50 +0000 Subject: [PATCH] Some #if should be #ifdef instead. --- src/jrd/os/posix/unix.cpp | 2 +- src/remote/inet_server.cpp | 2 +- src/utilities/drop.cpp | 2 +- src/utilities/guard/util.cpp | 2 +- src/utilities/ibmgr/srvrmgr.cpp | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/jrd/os/posix/unix.cpp b/src/jrd/os/posix/unix.cpp index 7c2a1932db..0c135b3ecb 100644 --- a/src/jrd/os/posix/unix.cpp +++ b/src/jrd/os/posix/unix.cpp @@ -1192,7 +1192,7 @@ static int raw_devices_unlink_database(const PathName& file_name) //if (desc != -1) perhaps it's better to check this??? close(desc); -#if DEV_BUILD +#ifdef DEV_BUILD gds__log ("raw_devices_unlink_database: %s -> %s\n", file_name.c_str(), i < IO_RETRY ? "true" : "false"); #endif diff --git a/src/remote/inet_server.cpp b/src/remote/inet_server.cpp index 1fc2e6f64b..b2278a9616 100644 --- a/src/remote/inet_server.cpp +++ b/src/remote/inet_server.cpp @@ -61,7 +61,7 @@ #include #endif -#if HAVE_SYS_WAIT_H +#ifdef HAVE_SYS_WAIT_H # include #endif diff --git a/src/utilities/drop.cpp b/src/utilities/drop.cpp index e557a93daf..bf895460bc 100644 --- a/src/utilities/drop.cpp +++ b/src/utilities/drop.cpp @@ -52,7 +52,7 @@ #include #endif -#if HAVE_SYS_WAIT_H +#ifdef HAVE_SYS_WAIT_H # include #endif diff --git a/src/utilities/guard/util.cpp b/src/utilities/guard/util.cpp index 4d02ad6df3..3a33df3020 100644 --- a/src/utilities/guard/util.cpp +++ b/src/utilities/guard/util.cpp @@ -44,7 +44,7 @@ #include /* for waitpid() */ #endif -#if HAVE_SYS_WAIT_H +#ifdef HAVE_SYS_WAIT_H # include #endif #ifndef WEXITSTATUS diff --git a/src/utilities/ibmgr/srvrmgr.cpp b/src/utilities/ibmgr/srvrmgr.cpp index 32236f4ec3..e4860751a9 100644 --- a/src/utilities/ibmgr/srvrmgr.cpp +++ b/src/utilities/ibmgr/srvrmgr.cpp @@ -31,7 +31,7 @@ #include #endif #include -#if HAVE_SYS_WAIT_H +#ifdef HAVE_SYS_WAIT_H # include #endif