From: Shinichiro Hamaji Date: Tue, 9 May 2017 08:22:38 +0000 (+0900) Subject: Define OS_LINUX only if it's not defined yet X-Git-Tag: accepted/tizen/5.0/unified/20181102.024921~43^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ee9d4877829b76094dbcff089411e6bc2c3468cc;hp=c4814b729a950131ce143376869f7900c6c147dc;p=platform%2Fupstream%2Fglog.git Define OS_LINUX only if it's not defined yet --- diff --git a/src/utilities.h b/src/utilities.h index 5f79968..101ca64 100644 --- a/src/utilities.h +++ b/src/utilities.h @@ -39,7 +39,9 @@ #elif defined(__CYGWIN__) || defined(__CYGWIN32__) # define OS_CYGWIN #elif defined(linux) || defined(__linux) || defined(__linux__) -# define OS_LINUX +# ifndef OS_LINUX +# define OS_LINUX +# endif #elif defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__) # define OS_MACOSX #elif defined(__FreeBSD__)