Skip to content

Instantly share code, notes, and snippets.

@Gottox
Created December 22, 2019 21:30
Show Gist options
  • Save Gottox/2b2f6fe6d1ecd4065c7abec89863a653 to your computer and use it in GitHub Desktop.
Save Gottox/2b2f6fe6d1ecd4065c7abec89863a653 to your computer and use it in GitHub Desktop.
diff --git a/nss_cache.c b/nss_cache.c
index aabc0ef..d5938da 100644
--- a/nss_cache.c
+++ b/nss_cache.c
@@ -730,7 +730,7 @@ enum nss_status _nss_cache_getgrnam_r(const char *name, struct group *result,
//
// Routines for shadow map defined here.
//
-#if defined(__LINUX__) && defined(__GLIBC__)
+#if defined(__linux__) && defined(__GLIBC__)
// This is only built on GLIBC as caching the shadow file is generally
// not permissable from the perspective of other libc's, so the
// symbols are simply unused in those environments.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment