mongodb: fix patch
This commit is contained in:
parent
c69339c7f5
commit
7d9c157f94
|
@ -29,12 +29,12 @@
|
|||
BSONObjBuilder bExtra;
|
||||
bExtra.append("versionString", LinuxSysHelper::readLineFromFile("/proc/version"));
|
||||
-#ifdef __UCLIBC__
|
||||
+#elif defined(__UCLIBC__)
|
||||
+#if defined(__UCLIBC__)
|
||||
stringstream ss;
|
||||
ss << "uClibc-" << __UCLIBC_MAJOR__ << "." << __UCLIBC_MINOR__ << "." << __UCLIBC_SUBLEVEL__;
|
||||
bExtra.append("libcVersion", ss.str());
|
||||
-#else
|
||||
+#if defined(__GLIBC__)
|
||||
+#elif defined(__GLIBC__)
|
||||
bExtra.append("libcVersion", gnu_get_libc_version());
|
||||
#endif
|
||||
if (!verSig.empty())
|
||||
|
|
Loading…
Reference in New Issue