[58837] trunk/base/src/pextlib1.0/curl.c
toby at macports.org
toby at macports.org
Mon Oct 5 22:20:53 PDT 2009
Revision: 58837
http://trac.macports.org/changeset/58837
Author: toby at macports.org
Date: 2009-10-05 22:20:52 -0700 (Mon, 05 Oct 2009)
Log Message:
-----------
utime.h is required by posix, no need to ifdef
Modified Paths:
--------------
trunk/base/src/pextlib1.0/curl.c
Modified: trunk/base/src/pextlib1.0/curl.c
===================================================================
--- trunk/base/src/pextlib1.0/curl.c 2009-10-06 05:16:12 UTC (rev 58836)
+++ trunk/base/src/pextlib1.0/curl.c 2009-10-06 05:20:52 UTC (rev 58837)
@@ -40,10 +40,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-
-#ifdef HAVE_UTIME_H
#include <utime.h>
-#endif
#include <curl/curl.h>
@@ -396,7 +393,6 @@
}
#endif
-#ifdef HAVE_UTIME_H
if (remotetime) {
theCurlCode = curl_easy_getinfo(theHandle, CURLINFO_FILETIME, &theFileTime);
if (theFileTime > 0) {
@@ -406,7 +402,6 @@
utime(theFilePath, ×); /* set the time we got */
}
}
-#endif /*HAVE_UTIME_H*/
/* free header memory */
curl_slist_free_all(headers);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091005/3f6c1f38/attachment-0001.html>
More information about the macports-changes
mailing list