Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/c++wrap')
-rwxr-xr-xwinsup/c++wrap6
1 files changed, 6 insertions, 0 deletions
diff --git a/winsup/c++wrap b/winsup/c++wrap
new file mode 100755
index 000000000..987acb8c5
--- /dev/null
+++ b/winsup/c++wrap
@@ -0,0 +1,6 @@
+#!/usr/bin/perl
+use strict;
+use File::Basename;
+my $pgm = basename($0);
+(my $wrapper = $pgm) =~ s/\+\+/c/o;
+exec $wrapper, '++', @ARGV;