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:
authorChristopher Faylor <me@cgf.cx>2012-03-19 21:49:40 +0400
committerChristopher Faylor <me@cgf.cx>2012-03-19 21:49:40 +0400
commit374d215ccadb50bcff6d54e9e7fdbeae9e471624 (patch)
tree75f45a1c89554d09019795b81189bc435228408e /winsup/cygwin/mkglobals_h
parent548dc6a14d286383a094eb5f2689aabdeefda73f (diff)
* cygprops.h: Use #pragma once.
* mkglobals_h: Ditto for generated globals.h file. * globals.cc: Use specific NO_GLOBALS_H flag to control inclusion of globals.h. * winsup.h: Honor NO_GLOBALS_H to control inclusion of globals.h. Make clear_procimptoken extern inline so that it is only defined when needed.
Diffstat (limited to 'winsup/cygwin/mkglobals_h')
-rwxr-xr-xwinsup/cygwin/mkglobals_h4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/mkglobals_h b/winsup/cygwin/mkglobals_h
index 1e409e01f..ea4a582f4 100755
--- a/winsup/cygwin/mkglobals_h
+++ b/winsup/cygwin/mkglobals_h
@@ -14,10 +14,10 @@ s/-NL-/\n/sog;
s/-EQ-/=/sog;
s/\s+\n/\n/sog;
s/\n{2,}/\n/sog;
-print <<PRELUDE,$_,"#endif /*_GLOBALS_H*/\n";
+print <<PRELUDE,$_;
/* $target - Autogenerated from @argv. Look there for comments. */
-#ifndef _GLOBALS_H
+#pragma once
PRELUDE
close $target_fd;
sub munge($) {