mirror of
https://github.com/reactos/reactos.git
synced 2024-08-03 10:00:56 +00:00
[USBEHCI_NEW]
- Build fix #1 for mingw - Define cxa_pure_virtual which is required that gcc is aware that it should really use the libc++ instead of falling back to libc svn path=/branches/usb-bringup/; revision=51348
This commit is contained in:
parent
24188364ec
commit
297f2e3dd4
|
@ -9,6 +9,7 @@ add_library(usbehci SHARED
|
||||||
hcd_controller.cpp
|
hcd_controller.cpp
|
||||||
hardware.cpp
|
hardware.cpp
|
||||||
misc.cpp
|
misc.cpp
|
||||||
|
purecall.cpp
|
||||||
usbehci.rc)
|
usbehci.rc)
|
||||||
|
|
||||||
target_link_libraries(usbehci
|
target_link_libraries(usbehci
|
||||||
|
|
24
drivers/usb/usbehci_new/purecall.cpp
Normal file
24
drivers/usb/usbehci_new/purecall.cpp
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
/*
|
||||||
|
* PROJECT: ReactOS Universal Serial Bus Bulk Enhanced Host Controller Interface
|
||||||
|
* LICENSE: GPL - See COPYING in the top level directory
|
||||||
|
* FILE: drivers/usb/usbehci_new/purecall.cpp
|
||||||
|
* PURPOSE: USB EHCI device driver.
|
||||||
|
* PROGRAMMERS:
|
||||||
|
* Michael Martin (michael.martin@reactos.org)
|
||||||
|
* Johannes Anderwald (johannes.anderwald@reactos.org)
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "usbehci.h"
|
||||||
|
|
||||||
|
|
||||||
|
extern "C" {
|
||||||
|
void
|
||||||
|
__cxa_pure_virtual()
|
||||||
|
{
|
||||||
|
// put error handling here
|
||||||
|
|
||||||
|
DbgBreakPoint();
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue