root/lang/cplusplus/i3/trunk/src/os-windows/WindowsCommon.h
@
25302
| Revision 25302, 357 bytes (checked in by saturday06, 4 years ago) |
|---|
| Line | |
|---|---|
| 1 | #pragma once |
| 2 | |
| 3 | #ifndef _ALLOCA_S_THRESHOLD |
| 4 | #define _ALLOCA_S_THRESHOLD 1024 |
| 5 | #endif |
| 6 | |
| 7 | // dirty string classes ..orz |
| 8 | namespace i3 |
| 9 | { |
| 10 | void init_hInstance(); |
| 11 | HINSTANCE get_hInstance(); // hInstance cache |
| 12 | |
| 13 | #if defined(UNICODE) || defined(_UNICODE) |
| 14 | const size_t WINDOWS_MAX_PATH = 3000; |
| 15 | #else |
| 16 | const size_t WINDOWS_MAX_PATH = MAX_PATH; |
| 17 | #endif |
| 18 | |
| 19 | } |
| 20 |
Note: See TracBrowser
for help on using the browser.
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)