Issue 6572 - Deprecate typedef

Remove use of deprecated typedef from phobos.  This mostly consists of changing typedef to alias, and disabling unittests that require typedef.  One change to std.registry is needed to work around a bug in typedef (6571).
This commit is contained in:
Daniel Murphy 2011-08-30 13:22:10 +10:00
parent 2297b0e2f5
commit 1590a5cc38
10 changed files with 31 additions and 31 deletions

View file

@ -63,7 +63,7 @@ version(Win32)
private import std.c.windows.windows, std.c.windows.winsock;
private alias std.c.windows.winsock.timeval _ctimeval;
typedef SOCKET socket_t = INVALID_SOCKET;
enum socket_t : SOCKET { INVALID_SOCKET };
private const int _SOCKET_ERROR = SOCKET_ERROR;