diff src/sysdep.c @ 5735:ff13c44ce0d9

Hack in rudimentary group support for WIN32 in support of Mats ID-FORMAT patch
author Vin Shelton <acs@xemacs.org>
date Wed, 24 Apr 2013 20:16:14 -0400
parents c30fdcab7bc8
children 427a72c6ee17
line wrap: on
line diff
--- a/src/sysdep.c	Sat Apr 20 00:33:15 2013 +0200
+++ b/src/sysdep.c	Wed Apr 24 20:16:14 2013 -0400
@@ -3127,11 +3127,14 @@
 #endif /* WIN32_NATIVE */
 }
 
-// TODO: WIN32 mapping
 struct group *
 qxe_getgrgid (gid_t gid)
 {
-   return getgrgid (gid);
+#ifdef WIN32_NATIVE
+  return NULL;
+#else
+  return getgrgid (gid);
+#endif /* WIN32_NATIVE */
 }
 
 #ifndef WIN32_NATIVE