OLD | NEW |
1 // © 2016 and later: Unicode, Inc. and others. | 1 // © 2016 and later: Unicode, Inc. and others. |
2 // License & terms of use: http://www.unicode.org/copyright.html | 2 // License & terms of use: http://www.unicode.org/copyright.html |
3 /* | 3 /* |
4 ****************************************************************************** | 4 ****************************************************************************** |
5 * | 5 * |
6 * Copyright (C) 2009-2011, International Business Machines | 6 * Copyright (C) 2009-2011, International Business Machines |
7 * Corporation and others. All Rights Reserved. | 7 * Corporation and others. All Rights Reserved. |
8 * | 8 * |
9 ****************************************************************************** | 9 ****************************************************************************** |
10 * file name: ucln_imp.h | 10 * file name: ucln_imp.h |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 /* Windows: DllMain */ | 114 /* Windows: DllMain */ |
115 #elif U_PLATFORM_HAS_WIN32_API | 115 #elif U_PLATFORM_HAS_WIN32_API |
116 /*· | 116 /*· |
117 * ICU's own DllMain. | 117 * ICU's own DllMain. |
118 */ | 118 */ |
119 | 119 |
120 /* these are from putil.c */ | 120 /* these are from putil.c */ |
121 /* READ READ READ READ! Are you getting compilation errors from windows.h? | 121 /* READ READ READ READ! Are you getting compilation errors from windows.h? |
122 Any source file which includes this (ucln_imp.h) header MUST· | 122 Any source file which includes this (ucln_imp.h) header MUST· |
123 be defined with language extensions ON. */ | 123 be defined with language extensions ON. */ |
| 124 #ifndef WIN32_LEAN_AND_MEAN |
124 # define WIN32_LEAN_AND_MEAN | 125 # define WIN32_LEAN_AND_MEAN |
| 126 #endif |
125 # define VC_EXTRALEAN | 127 # define VC_EXTRALEAN |
126 # define NOUSER | 128 # define NOUSER |
127 # define NOSERVICE | 129 # define NOSERVICE |
128 # define NOIME | 130 # define NOIME |
129 # define NOMCX | 131 # define NOMCX |
130 # include <windows.h> | 132 # include <windows.h> |
131 /* | 133 /* |
132 * This is a stub DllMain function with icu specific process handling code. | 134 * This is a stub DllMain function with icu specific process handling code. |
133 */ | 135 */ |
134 BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) | 136 BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 UCLN_CLEAN_ME_UP; | 173 UCLN_CLEAN_ME_UP; |
172 } | 174 } |
173 | 175 |
174 #endif | 176 #endif |
175 | 177 |
176 #endif /* UCLN_NO_AUTO_CLEANUP */ | 178 #endif /* UCLN_NO_AUTO_CLEANUP */ |
177 | 179 |
178 #else | 180 #else |
179 #error This file can only be included once. | 181 #error This file can only be included once. |
180 #endif | 182 #endif |
OLD | NEW |