浏览代码

F_OK is now direclty defined in server.c

Sten Grüner 9 年之前
父节点
当前提交
b2277cfc2b
共有 1 个文件被更改,包括 0 次插入16 次删除
  1. 0 16
      src/ua_util.h

+ 0 - 16
src/ua_util.h

@@ -24,22 +24,6 @@
     #define UA_RESTRICT restrict
 #endif
 
-/* Visual Studio does not know fnct/unistd file access results */
-#ifdef _MSC_VER
-    #ifndef R_OK
-        #define R_OK    4               /* Test for read permission.  */
-    #endif
-    #ifndef R_OK
-        #define W_OK    2               /* Test for write permission.  */
-    #endif
-    #ifndef X_OK
-        #define X_OK    1               /* Test for execute permission.  */
-    #endif
-    #ifndef F_OK
-        #define F_OK    0               /* Test for existence.  */
-    #endif
-#endif
-
 #define UA_NULL ((void *)0)
 
 // subtract from nodeids to get from the encoding to the content