cURL / Mailing Lists / curl-library / Single Mail

curl-library

patch 7.19.5 - remove VMS specific code from curl.h

From: John E. Malmberg <wb8tyw_at_qsl.net>
Date: Sun, 31 May 2009 11:05:09 -0500

On VMS, sys/types.h and types.h are the same file.

By default, the VMS C compiler ignores the "sys/" path. This is the
case for all platforms on VMS that curl is currently being built for.

So there is no need for VMS specific code here.

Regards,
-John
wb8tyw_at_qsl.net
Personal Opinion Only

--- /src_root/curl-7.19.5/include/curl/curl.h Tue Apr 28 06:19:10 2009
+++ /lcl_root/curl-7.19.5/include/curl/curl.h Sun May 31 10:56:11 2009
@@ -48,13 +48,8 @@
 #include <limits.h>
 
 /* The include stuff here below is mainly for time_t! */
-#ifdef vms
-# include <types.h>
-# include <time.h>
-#else
-# include <sys/types.h>
-# include <time.h>
-#endif /* defined (vms) */
+#include <sys/types.h>
+#include <time.h>
 
 #if defined(WIN32) && !defined(_WIN32_WCE) && !defined(__GNUC__) && \
   !defined(__CYGWIN__) || defined(__MINGW32__)
Received on 2009-05-31