mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-30 09:22:57 +02:00
mongodb: fix patch
This commit is contained in:
parent
c69339c7f5
commit
7d9c157f94
1 changed files with 2 additions and 2 deletions
|
@ -29,12 +29,12 @@
|
||||||
BSONObjBuilder bExtra;
|
BSONObjBuilder bExtra;
|
||||||
bExtra.append("versionString", LinuxSysHelper::readLineFromFile("/proc/version"));
|
bExtra.append("versionString", LinuxSysHelper::readLineFromFile("/proc/version"));
|
||||||
-#ifdef __UCLIBC__
|
-#ifdef __UCLIBC__
|
||||||
+#elif defined(__UCLIBC__)
|
+#if defined(__UCLIBC__)
|
||||||
stringstream ss;
|
stringstream ss;
|
||||||
ss << "uClibc-" << __UCLIBC_MAJOR__ << "." << __UCLIBC_MINOR__ << "." << __UCLIBC_SUBLEVEL__;
|
ss << "uClibc-" << __UCLIBC_MAJOR__ << "." << __UCLIBC_MINOR__ << "." << __UCLIBC_SUBLEVEL__;
|
||||||
bExtra.append("libcVersion", ss.str());
|
bExtra.append("libcVersion", ss.str());
|
||||||
-#else
|
-#else
|
||||||
+#if defined(__GLIBC__)
|
+#elif defined(__GLIBC__)
|
||||||
bExtra.append("libcVersion", gnu_get_libc_version());
|
bExtra.append("libcVersion", gnu_get_libc_version());
|
||||||
#endif
|
#endif
|
||||||
if (!verSig.empty())
|
if (!verSig.empty())
|
||||||
|
|
Loading…
Add table
Reference in a new issue