summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/fe/idl.yy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/fe/idl.yy.cpp')
-rw-r--r--TAO/TAO_IDL/fe/idl.yy.cpp27
1 files changed, 1 insertions, 26 deletions
diff --git a/TAO/TAO_IDL/fe/idl.yy.cpp b/TAO/TAO_IDL/fe/idl.yy.cpp
index 566e026cb55..e5546389c91 100644
--- a/TAO/TAO_IDL/fe/idl.yy.cpp
+++ b/TAO/TAO_IDL/fe/idl.yy.cpp
@@ -288,7 +288,7 @@
/* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
-#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L || defined (__HP_aCC)
+#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
/* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
* if you want the limit (max/min) macros for int types.
@@ -3644,20 +3644,6 @@ idl_parse_line_and_file (char *buf)
}
h[i] = '\0';
-#if defined (ACE_OPENVMS)
- // translate this into *nix format as the OpenVMS preprocessor
- // possibly produced VMS-style paths here.
- char trans_path[MAXPATHLEN] = "";
- char *temp_h = IDL_GlobalData::translateName (h, trans_path);
- if (temp_h)
- h = temp_h;
- else
- {
- ACE_ERROR ((LM_ERROR,
- ACE_TEXT ("Unable to construct full file pathname\n")));
- throw Bailout ();
- }
-#endif
ACE_NEW (tmp,
UTL_String (h, true));
idl_global->update_prefix (tmp->get_string ());
@@ -3676,21 +3662,10 @@ idl_parse_line_and_file (char *buf)
if (!is_real_filename)
{
-#if defined (ACE_OPENVMS)
- char full_path[MAXPATHLEN] = "";
- char *full_fname = ACE_OS::realpath (fname->get_string (), full_path);
- // I don't see the benefit of using ->compare since this is targeted at IDL identifiers
- // not at filenames and in the case of OpenVMS (case-insensitive filesystem) gets really
- // problematic as filenames retrieved through different mechanisms may give different
- // casing.
- is_main_filename = FE_Utils::path_cmp (idl_global->main_filename ()->get_string (),
- full_fname) == 0;
-#else
is_main_filename =
fname->compare (idl_global->main_filename ())
|| same_file (fname->get_string (),
idl_global->main_filename ()->get_string ());
-#endif
}
if (is_real_filename || is_main_filename)