mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-06 16:49:51 +08:00
Can't use 'class' as a field name! Backward conditional compilation in usbmsc.c
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4350 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
+4
-1
@@ -2412,4 +2412,7 @@
|
||||
OS to use the socket interface without having a socket descriptor.
|
||||
* include/net/psock.h: Removed psock.h. The new interfaces are moved into
|
||||
nuttx/net.h which already has similar logic.
|
||||
|
||||
* include/nuttx/usb/usb.h: Can't use 'class' as a field name in USB structures.
|
||||
This upsets C++ if usb.h is included. 'class' -> 'classid' in this header
|
||||
file and all places that referenced 'class'
|
||||
* drivers/usbdev/usbmsc.c: Fixed some backward conditional compilation.
|
||||
|
||||
Reference in New Issue
Block a user