Windows headers are crap, let me count the ways (nw)

This commit is contained in:
Olivier Galibert 2013-11-19 07:48:31 +00:00
parent 3b210bda1f
commit 9779285c52

View File

@ -7,6 +7,13 @@
#ifndef __DISERIAL_H__
#define __DISERIAL_H__
// Windows headers are crap, let me count the ways
#undef PARITY_NONE
#undef PARITY_ODD
#undef PARITY_EVEN
#undef PARITY_MARK
#undef PARITY_SPACE
// ======================> device_serial_interface
class device_serial_interface : public device_interface
{