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:
authorCorinna Vinschen <corinna@vinschen.de>2008-03-18 12:57:33 +0300
committerCorinna Vinschen <corinna@vinschen.de>2008-03-18 12:57:33 +0300
commit00103b7f5e2c2963c2b4706634535ce0055530ea (patch)
treec4fdb3cca5248337cd23ce4224833022436ea5d5 /winsup/cygwin/include
parent07f8aa8233d34f45fdeb52196894f151c6afcc9b (diff)
* include/sys/cygwin.h: Revert erroneous move of `#ifdef WINVER' to
another location.
Diffstat (limited to 'winsup/cygwin/include')
-rw-r--r--winsup/cygwin/include/sys/cygwin.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/include/sys/cygwin.h b/winsup/cygwin/include/sys/cygwin.h
index 5a7c14df0..f3aa9012d 100644
--- a/winsup/cygwin/include/sys/cygwin.h
+++ b/winsup/cygwin/include/sys/cygwin.h
@@ -169,6 +169,8 @@ enum
PID_EXITED = 0x80000000 /* Free entry. */
};
+#ifdef WINVER
+
/* This lives in the app and is initialized before jumping into the DLL.
It should only contain stuff which the user's process needs to see, or
which is needed before the user pointer is initialized, or is needed to
@@ -259,7 +261,6 @@ extern void cygwin_premain1 (int argc, char **argv, struct per_process *);
extern void cygwin_premain2 (int argc, char **argv, struct per_process *);
extern void cygwin_premain3 (int argc, char **argv, struct per_process *);
-#ifdef WINVER
#ifdef _PATH_PASSWD
extern HANDLE cygwin_logon_user (const struct passwd *, const char *);
#endif