projects
/
platform
/
upstream
/
glog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4814b7
)
Define OS_LINUX only if it's not defined yet
author
Shinichiro Hamaji
<shinichiro.hamaji@gmail.com>
Tue, 9 May 2017 08:22:38 +0000
(17:22 +0900)
committer
Shinichiro Hamaji
<shinichiro.hamaji@gmail.com>
Tue, 9 May 2017 08:22:38 +0000
(17:22 +0900)
src/utilities.h
patch
|
blob
|
history
diff --git
a/src/utilities.h
b/src/utilities.h
index
5f79968
..
101ca64
100644
(file)
--- 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__)