* ServiceControllerPermissionTest.cs: Set eol-style to native. Fixed
[mono.git] / support / stdlib.c
index 55d866428fc48f542afc27d3708824c7f6b7239a..9ab875cab404568536fa1633cea40c5a9c1eb8f9 100644 (file)
@@ -64,7 +64,7 @@ Mono_Posix_Stdlib_realloc (void* ptr, mph_size_t size)
        return realloc (ptr, (size_t) size);
 }
 
-#ifndef PLATFORM_WIN32
+#ifdef HAVE_SETKEY
 int
 Mono_Posix_Syscall_setkey (const char* key)
 {
@@ -72,7 +72,7 @@ Mono_Posix_Syscall_setkey (const char* key)
        setkey (key);
        return errno == 0 ? 0 : -1;
 }
-#endif /* ndef PLATFORM_WIN32 */
+#endif /* ndef HAVE_SETKEY */
 
 G_END_DECLS