fix indention of preprocessor directives

This commit is contained in:
William Woodall 2015-12-16 15:33:52 -08:00
parent b92148d75f
commit f35c06e27c
3 changed files with 6 additions and 6 deletions

View file

@ -22,7 +22,7 @@ extern "C"
#include <stdlib.h> #include <stdlib.h>
#if defined(WIN32) #if defined(WIN32)
#define WINDOWS_ENV_BUFFER_SIZE 2048 # define WINDOWS_ENV_BUFFER_SIZE 2048
static char __env_buffer[WINDOWS_ENV_BUFFER_SIZE]; static char __env_buffer[WINDOWS_ENV_BUFFER_SIZE];
#endif // defined(WIN32) #endif // defined(WIN32)

View file

@ -13,7 +13,7 @@
// limitations under the License. // limitations under the License.
#if defined(WIN32) #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) #endif // defined(WIN32)
#if __cplusplus #if __cplusplus
@ -37,9 +37,9 @@ extern "C"
#if !defined(__MACH__) // Assume clock_get_time is available on OS X. #if !defined(__MACH__) // Assume clock_get_time is available on OS X.
// This id an appropriate check for clock_gettime() according to: // This id an appropriate check for clock_gettime() according to:
// http://man7.org/linux/man-pages/man2/clock_gettime.2.html // http://man7.org/linux/man-pages/man2/clock_gettime.2.html
#if !defined(_POSIX_TIMERS) || !_POSIX_TIMERS # if !defined(_POSIX_TIMERS) || !_POSIX_TIMERS
#error no monotonic clock function available # error no monotonic clock function available
#endif // !defined(_POSIX_TIMERS) || !_POSIX_TIMERS # endif // !defined(_POSIX_TIMERS) || !_POSIX_TIMERS
#endif // !defined(__MACH__) #endif // !defined(__MACH__)
#define __WOULD_BE_NEGATIVE(seconds, subseconds) (seconds < 0 || (subseconds < 0 && seconds == 0)) #define __WOULD_BE_NEGATIVE(seconds, subseconds) (seconds < 0 || (subseconds < 0 && seconds == 0))

View file

@ -13,7 +13,7 @@
// limitations under the License. // limitations under the License.
#ifndef WIN32 #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 #endif
#if __cplusplus #if __cplusplus