[73999] trunk/base/src/pextlib1.0

jmr at macports.org jmr at macports.org
Wed Dec 1 14:51:02 PST 2010


Revision: 73999
          http://trac.macports.org/changeset/73999
Author:   jmr at macports.org
Date:     2010-12-01 14:50:58 -0800 (Wed, 01 Dec 2010)
Log Message:
-----------
add setmode header to include when the OS doesn't provide it

Modified Paths:
--------------
    trunk/base/src/pextlib1.0/Pextlib.c

Added Paths:
-----------
    trunk/base/src/pextlib1.0/setmode.h

Modified: trunk/base/src/pextlib1.0/Pextlib.c
===================================================================
--- trunk/base/src/pextlib1.0/Pextlib.c	2010-12-01 22:29:26 UTC (rev 73998)
+++ trunk/base/src/pextlib1.0/Pextlib.c	2010-12-01 22:50:58 UTC (rev 73999)
@@ -86,6 +86,10 @@
 extern char **environ;
 #endif
 
+#if !HAVE_SETMODE
+#include "setmode.h"
+#endif
+
 #if !HAVE_FGETLN
 char *fgetln(FILE *stream, size_t *len);
 #endif

Added: trunk/base/src/pextlib1.0/setmode.h
===================================================================
--- trunk/base/src/pextlib1.0/setmode.h	                        (rev 0)
+++ trunk/base/src/pextlib1.0/setmode.h	2010-12-01 22:50:58 UTC (rev 73999)
@@ -0,0 +1,6 @@
+/*
+ * $Id$
+ */
+
+mode_t getmode(const void *bbox, mode_t omode);
+void * setmode(const char *p);


Property changes on: trunk/base/src/pextlib1.0/setmode.h
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101201/6563ee66/attachment-0001.html>


More information about the macports-changes mailing list