]> granicus.if.org Git - graphviz/commitdiff
fix error: 'R_OK' undeclared
authorTony Kelman <tony@kelman.net>
Sat, 20 Dec 2014 00:19:26 +0000 (16:19 -0800)
committerTony Kelman <tony@kelman.net>
Fri, 16 Jan 2015 23:28:07 +0000 (15:28 -0800)
lib/common/utils.c

index c18890f7828a6569123139972be83a4a60610e49..544d5cc1ba416bd85542edc18246895e11f5a051 100644 (file)
@@ -21,7 +21,7 @@
 #ifdef WIN32
 #include "libltdl/lt_system.h"
 #endif
-#ifndef WIN32
+#ifndef _MSC_VER
 #include <unistd.h>
 #endif
 #include <ctype.h>