setup-vms.h: post VMS patch cleanup - III

- rename post-config-vms.h to setup-vms.h
- move its inclusion into proper location in curl_setup.h
This commit is contained in:
Yang Tse 2013-02-06 04:53:34 +01:00
parent 453e821ad7
commit 85625c5e28
3 changed files with 12 additions and 9 deletions

View 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

View File

@ -40,11 +40,6 @@
#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
@ -234,6 +229,14 @@
# 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,

View 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 */