Mercurial > projects > ldc
comparison tests/mini/m.d @ 1437:efa34a3bb8fc
Fix test for mingw
author | Kelly Wilson <wilsonk cpsc.ucalgary.ca> |
---|---|
date | Sat, 30 May 2009 14:57:48 -0600 |
parents | d2d6107e4ec2 |
children | e92e14690a4f |
comparison
equal
deleted
inserted
replaced
1436:59c527d44303 | 1437:efa34a3bb8fc |
---|---|
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) { | |
13 int* strerror(); | |
14 alias strerror __errno_location; | |
12 } else { | 15 } else { |
13 int* __errno_location(); | 16 int* __errno_location(); |
14 } | 17 } |
15 int printf(char*,...); | 18 int printf(char*,...); |