root/trunk/tango/stdc/config.d
| Revision 4378, 485 bytes (checked in by fawzi, 3 years ago) | |
|---|---|
| |
| Line | |
|---|---|
| 1 | /** |
| 2 | * D header file for C99. |
| 3 | * |
| 4 | * Copyright: Public Domain |
| 5 | * License: Public Domain |
| 6 | * Authors: Sean Kelly |
| 7 | * Standards: ISO/IEC 9899:1999 (E) |
| 8 | */ |
| 9 | module tango.stdc.config; |
| 10 | |
| 11 | extern (C): |
| 12 | |
| 13 | version( Windows ) |
| 14 | { |
| 15 | alias int c_long; |
| 16 | alias uint c_ulong; |
| 17 | } |
| 18 | else |
| 19 | { |
| 20 | static if( (void*).sizeof > int.sizeof ) |
| 21 | { |
| 22 | alias long c_long; |
| 23 | alias ulong c_ulong; |
| 24 | } |
| 25 | else |
| 26 | { |
| 27 | alias int c_long; |
| 28 | alias uint c_ulong; |
| 29 | } |
| 30 | } |
| 31 | |
| 32 | version( solaris ) |
| 33 | { |
| 34 | alias ulong upad64_t; |
| 35 | } |
Note: See TracBrowser for help on using the browser.












