setup-vms.h: post VMS patch cleanup - III
authorYang Tse <yangsita@gmail.com>
Wed, 6 Feb 2013 03:53:34 +0000 (04:53 +0100)
committerYang Tse <yangsita@gmail.com>
Wed, 6 Feb 2013 03:53:34 +0000 (04:53 +0100)
- rename post-config-vms.h to setup-vms.h
- move its inclusion into proper location in curl_setup.h

lib/Makefile.inc
lib/curl_setup.h
lib/setup-vms.h [moved from lib/post-config-vms.h with 99% similarity]

index 281678d8e3ffff3227efa2d91be9603502eb0ddd..5b73865aa3f49bd9700bb7ef0cde4b11ac490629 100644 (file)
@@ -44,4 +44,4 @@ HHEADERS = arpa_telnet.h netrc.h file.h timeval.h qssl.h hostip.h     \
   curl_gssapi.h curl_ntlm_wb.h curl_ntlm_core.h curl_ntlm_msgs.h       \
   curl_sasl.h curl_schannel.h curl_multibyte.h curl_darwinssl.h                \
   hostcheck.h bundles.h conncache.h curl_setup_once.h multihandle.h     \
-  post-config-vms.h
+  setup-vms.h
index a6f9e0a83a433a8ad595b96afcdcce5098b9f3bc..ad83fec5fab63c21d8c3b0a1c51372644d5436cf 100644 (file)
 
 #include "curl_config.h"
 
-/* VMS needs some helper routines/definitions */
-#ifdef __VMS
-#  include "post-config-vms.h"
-#endif
-
 #else /* HAVE_CONFIG_H */
 
 #ifdef _WIN32_WCE
 #  include "setup-os400.h"
 #endif
 
+/*
+ * VMS setup file includes some system headers.
+ */
+
+#ifdef __VMS
+#  include "setup-vms.h"
+#endif
+
 /*
  * Include header files for windows builds before redefining anything.
  * Use this preprocessor block only to include or exclude windows.h,
similarity index 99%
rename from lib/post-config-vms.h
rename to lib/setup-vms.h
index 4da5b99243f991ce237e3a902efa5536cde45304..4eefbba49ae46da789e3832f360ff46a65fd8154 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef HEADER_CONFIG_VMS_H
-#define HEADER_CONFIG_VMS_H
+#ifndef HEADER_CURL_SETUP_VMS_H
+#define HEADER_CURL_SETUP_VMS_H
 /***************************************************************************
  *                                  _   _ ____  _
  *  Project                     ___| | | |  _ \| |
@@ -395,4 +395,4 @@ char * unix_path;
 #endif
 #endif
 
-#endif /* HEADER_CONFIG_VMS_H */
+#endif /* HEADER_CURL_SETUP_VMS_H */