OSDN Git Service

* path.cc (conv_path_list): Take cygwin_conv_path_t as third parameter.
[pf3gnuchains/pf3gnuchains4x.git] / winsup / cygwin / winlean.h
1 /* winlean.h - Standard "lean" windows include
2
3    Copyright 2010, 2011  Red Hat, Inc.
4
5 This file is part of Cygwin.
6
7 This software is a copyrighted work licensed under the terms of the
8 Cygwin license.  Please consult the file "CYGWIN_LICENSE" for
9 details. */
10
11 #ifndef _WINLEAN_H
12 #define _WINLEAN_H 1
13 #define WIN32_LEAN_AND_MEAN 1
14 #define _WINGDI_H
15 #define _WINUSER_H
16 #define _WINNLS_H
17 #define _WINVER_H
18 #define _WINNETWK_H
19 #define _WINSVC_H
20 #include <windows.h>
21 #include <wincrypt.h>
22 #include <lmcons.h>
23 #include <ntdef.h>
24 #undef _WINGDI_H
25 #undef _WINUSER_H
26 #undef _WINNLS_H
27 #undef _WINVER_H
28 #undef _WINNETWK_H
29 #undef _WINSVC_H
30 /* When Terminal Services are installed, the GetWindowsDirectory function
31    does not return the system installation dir, but a user specific directory
32    instead.  That's not what we have in mind when calling GetWindowsDirectory
33    from within Cygwin.  So we redefine GetWindowsDirectory to something
34    invalid here to avoid that it's called accidentally in Cygwin.  Don't
35    use this function.  Use GetSystemWindowsDirectoryW. */
36 #define GetWindowsDirectoryW dont_use_GetWindowsDirectory
37 #define GetWindowsDirectoryA dont_use_GetWindowsDirectory
38 #endif /*_WINLEAN_H*/