if (args[3]->IsFunction()) {
ASYNC_CALL(futime, args[3], fd, atime, mtime);
} else {
-#ifdef __sun
- // Solaris does not have futimes
+#ifndef futimes
+ // Some systems do not have futimes
return ThrowException(ErrnoException(ENOSYS, "futimes", "", 0));
#else
timeval times[2];
if (futimes(fd, times) == -1) {
return ThrowException(ErrnoException(errno, "futimes", "", 0));
}
-#endif //__sun
+#endif // futimes
}
return Undefined();