diff --git a/rcl/src/rcl/common.c b/rcl/src/rcl/common.c index ab9f523..e4db769 100644 --- a/rcl/src/rcl/common.c +++ b/rcl/src/rcl/common.c @@ -22,7 +22,7 @@ extern "C" #include #if defined(WIN32) -#define WINDOWS_ENV_BUFFER_SIZE 2048 +# define WINDOWS_ENV_BUFFER_SIZE 2048 static char __env_buffer[WINDOWS_ENV_BUFFER_SIZE]; #endif // defined(WIN32) diff --git a/rcl/src/rcl/time_unix.c b/rcl/src/rcl/time_unix.c index 765742c..bc7e452 100644 --- a/rcl/src/rcl/time_unix.c +++ b/rcl/src/rcl/time_unix.c @@ -13,7 +13,7 @@ // limitations under the License. #if defined(WIN32) -#error time_unix.c is not intended to be used with win32 based systems +# error time_unix.c is not intended to be used with win32 based systems #endif // defined(WIN32) #if __cplusplus @@ -37,9 +37,9 @@ extern "C" #if !defined(__MACH__) // Assume clock_get_time is available on OS X. // This id an appropriate check for clock_gettime() according to: // http://man7.org/linux/man-pages/man2/clock_gettime.2.html -#if !defined(_POSIX_TIMERS) || !_POSIX_TIMERS -#error no monotonic clock function available -#endif // !defined(_POSIX_TIMERS) || !_POSIX_TIMERS +# if !defined(_POSIX_TIMERS) || !_POSIX_TIMERS +# error no monotonic clock function available +# endif // !defined(_POSIX_TIMERS) || !_POSIX_TIMERS #endif // !defined(__MACH__) #define __WOULD_BE_NEGATIVE(seconds, subseconds) (seconds < 0 || (subseconds < 0 && seconds == 0)) diff --git a/rcl/src/rcl/time_win32.c b/rcl/src/rcl/time_win32.c index 987ac68..919cf46 100644 --- a/rcl/src/rcl/time_win32.c +++ b/rcl/src/rcl/time_win32.c @@ -13,7 +13,7 @@ // limitations under the License. #ifndef WIN32 -#error time_win32.c is only intended to be used with win32 based systems +# error time_win32.c is only intended to be used with win32 based systems #endif #if __cplusplus