Mercurial > projects > ldc
comparison tests/mini/m.d @ 1448:e92e14690a4f
change mingw32 versioning to version(Windows)
author | Kelly Wilson <wilsonk cpsc.ucalgary.ca> |
---|---|
date | Sun, 31 May 2009 11:20:26 -0600 |
parents | efa34a3bb8fc |
children |
comparison
equal
deleted
inserted
replaced
1447:a400b1dd657f | 1448:e92e14690a4f |
---|---|
7 | 7 |
8 extern(C): | 8 extern(C): |
9 version(darwin) { | 9 version(darwin) { |
10 int* __error(); | 10 int* __error(); |
11 alias __error __errno_location; | 11 alias __error __errno_location; |
12 } else version (mingw32) { | 12 } else version (Windows) { |
13 int* strerror(); | 13 int* strerror(); |
14 alias strerror __errno_location; | 14 alias strerror __errno_location; |
15 } else { | 15 } else { |
16 int* __errno_location(); | 16 int* __errno_location(); |
17 } | 17 } |