diff options
author | Shinichiro Hamaji <shinichiro.hamaji@gmail.com> | 2017-05-09 17:22:38 +0900 |
---|---|---|
committer | Shinichiro Hamaji <shinichiro.hamaji@gmail.com> | 2017-05-09 17:22:38 +0900 |
commit | ee9d4877829b76094dbcff089411e6bc2c3468cc (patch) | |
tree | 3f402270256be256c5d30893fa95ac53ac38ce3b /src/utilities.h | |
parent | c4814b729a950131ce143376869f7900c6c147dc (diff) | |
download | glog-ee9d4877829b76094dbcff089411e6bc2c3468cc.tar.gz glog-ee9d4877829b76094dbcff089411e6bc2c3468cc.tar.bz2 glog-ee9d4877829b76094dbcff089411e6bc2c3468cc.zip |
Define OS_LINUX only if it's not defined yet
Diffstat (limited to 'src/utilities.h')
-rw-r--r-- | src/utilities.h | 4 |
1 files changed, 3 insertions, 1 deletions
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__) |