Move #endif for NT
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index 7bf69e7..7ffcd66 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -765,7 +765,6 @@
 		return NULL;
 	return newintobject((long)geteuid());
 }
-#endif /* !NT */
 
 static object *
 posix_getgid(self, args)
@@ -776,6 +775,7 @@
 		return NULL;
 	return newintobject((long)getgid());
 }
+#endif /* !NT */
 
 static object *
 posix_getpid(self, args)