Use the new-style system-identity macros.
diff --git a/crypto/uid.c b/crypto/uid.c
index 5612af4..734bdde 100644
--- a/crypto/uid.c
+++ b/crypto/uid.c
@@ -53,7 +53,7 @@
  *
  */
 
-#include "openssl/crypto.h"
+#include <openssl/crypto.h>
 
 #if defined(__OpenBSD__) || (defined(__FreeBSD__) && __FreeBSD__ > 2)
 
@@ -64,7 +64,7 @@
 	return issetugid();
 	}
 
-#elif defined(WIN32)
+#elif defined(OPENSSL_SYS_WIN32)
 
 int OPENSSL_issetugid(void)
 	{