gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r35520 - gnunet/src/include


From: gnunet
Subject: [GNUnet-SVN] r35520 - gnunet/src/include
Date: Thu, 9 Apr 2015 19:24:45 +0200

Author: LRN
Date: 2015-04-09 19:24:45 +0200 (Thu, 09 Apr 2015)
New Revision: 35520

Modified:
   gnunet/src/include/plibc.h
Log:
Update bundled plibc header (don't redef S_I* constants), fix mkfifo prototype

Modified: gnunet/src/include/plibc.h
===================================================================
--- gnunet/src/include/plibc.h  2015-04-09 11:53:16 UTC (rev 35519)
+++ gnunet/src/include/plibc.h  2015-04-09 17:24:45 UTC (rev 35520)
@@ -1,6 +1,6 @@
 /*
      This file is part of PlibC.
-     Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Nils Durner (and other 
contributing authors)
+     (C) 2005, 2006, 2007, 2008, 2009, 2010 Nils Durner (and other 
contributing authors)
 
           This library is free software; you can redistribute it and/or
           modify it under the terms of the GNU Lesser General Public
@@ -22,7 +22,7 @@
  * @brief PlibC header
  * @attention This file is usually not installed under Unix,
  *            so ship it with your application
- * @version $Revision$
+ * @version $Revision: 156 $
  */
 
 #ifndef _PLIBC_H_
@@ -425,17 +425,39 @@
 #define LOCK_UN  8       /* remove lock */
 
 /* Not supported under MinGW */
+#ifndef S_IRGRP
 #define S_IRGRP 0
+#endif
+#ifndef S_IWGRP
 #define S_IWGRP 0
+#endif
+#ifndef S_IROTH
 #define S_IROTH 0
+#endif
+#ifndef S_IXGRP
 #define S_IXGRP 0
+#endif
+#ifndef S_IWOTH
 #define S_IWOTH 0
+#endif
+#ifndef S_IXOTH
 #define S_IXOTH 0
+#endif
+#ifndef S_ISUID
 #define S_ISUID 0
+#endif
+#ifndef S_ISGID
 #define S_ISGID 0
+#endif
+#ifndef S_ISVTX
 #define S_ISVTX 0
+#endif
+#ifndef S_IRWXG
 #define S_IRWXG 0
+#endif
+#ifndef S_IRWXO
 #define S_IRWXO 0
+#endif
 
 #define SHUT_WR SD_SEND
 #define SHUT_RD SD_RECEIVE
@@ -522,7 +544,7 @@
 int _win_truncate(const char *fname, int distance);
 int _win_kill(pid_t pid, int sig);
 int _win_pipe(int *phandles);
-intptr_t _win_mkfifo(const char *path, mode_t mode);
+int _win_mkfifo(const char *path, mode_t mode);
 int _win_rmdir(const char *path);
 int _win_access( const char *path, int mode );
 int _win_chmod(const char *filename, int pmode);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]