ntdll: Add default COM device for DragonFly BSD.

This commit is contained in:
André Hentschel 2012-06-02 18:54:10 +02:00 committed by Alexandre Julliard
parent 1013d2e75c
commit 1748f0de4e
1 changed files with 7 additions and 0 deletions

View File

@ -320,6 +320,13 @@ static char *get_default_com_device( int num )
strcpy( ret, "/dev/cuad0" );
ret[strlen(ret) - 1] = '0' + num - 1;
}
#elif defined(__DragonFly__)
ret = RtlAllocateHeap( GetProcessHeap(), 0, sizeof("/dev/cuaa0") );
if (ret)
{
strcpy( ret, "/dev/cuaa0" );
ret[strlen(ret) - 1] = '0' + num - 1;
}
#else
FIXME( "no known default for device com%d\n", num );
#endif