diff options
author | Craig A. Berry <craigberry@mac.com> | 2006-12-18 01:15:43 +0000 |
---|---|---|
committer | Craig A. Berry <craigberry@mac.com> | 2006-12-18 01:15:43 +0000 |
commit | 5f1992ede8a43d5dd061f69ed393bbd52e8e5801 (patch) | |
tree | fa835adbff5cef62b1bb9e2195081a07410d2d36 /vms | |
parent | 93ea0ce5a86f9e0dd3753d708e971f36b44d72e8 (diff) | |
download | perl-5f1992ede8a43d5dd061f69ed393bbd52e8e5801.tar.gz |
In vms/vms.c, don't prototype decw$term_port until after
config.h (via perl.h) is included. That's where USE_VMS_DECTERM
is defined.
p4raw-id: //depot/perl@29573
Diffstat (limited to 'vms')
-rw-r--r-- | vms/vms.c | 31 |
1 files changed, 15 insertions, 16 deletions
@@ -91,22 +91,6 @@ int sys$getdviw void * astprm, void * nullarg); -#ifdef USE_VMS_DECTERM - -/* Routine to create a decterm for use with the Perl debugger */ -/* No headers, this information was found in the Programming Concepts Manual */ - -int decw$term_port - (const struct dsc$descriptor_s * display, - const struct dsc$descriptor_s * setup_file, - const struct dsc$descriptor_s * customization, - struct dsc$descriptor_s * result_device_name, - unsigned short * result_device_name_length, - void * controller, - void * char_buffer, - void * char_change_buffer); -#endif - #if __CRTL_VER >= 70300000 && !defined(__VAX) static int set_feature_default(const char *name, int value) @@ -160,6 +144,21 @@ return 0; # define RTL_USES_UTC 1 #endif +#ifdef USE_VMS_DECTERM + +/* Routine to create a decterm for use with the Perl debugger */ +/* No headers, this information was found in the Programming Concepts Manual */ + +int decw$term_port + (const struct dsc$descriptor_s * display, + const struct dsc$descriptor_s * setup_file, + const struct dsc$descriptor_s * customization, + struct dsc$descriptor_s * result_device_name, + unsigned short * result_device_name_length, + void * controller, + void * char_buffer, + void * char_change_buffer); +#endif /* gcc's header files don't #define direct access macros * corresponding to VAXC's variant structs */ |