mirror of
https://github.com/trabucayre/openFPGALoader.git
synced 2026-08-30 18:02:38 +02:00
link against winsock system lib rather than implementing ad-hoc ntohs, fix warning about redefined macro on windows
This commit is contained in:
@@ -32,6 +32,11 @@
|
||||
|
||||
using namespace std;
|
||||
|
||||
#ifdef STATUS_TIMEOUT
|
||||
// defined in the Windows headers included by libftdi.h
|
||||
#undef STATUS_TIMEOUT
|
||||
#endif
|
||||
|
||||
#define NOOP 0x02
|
||||
#define ERASE_SRAM 0x05
|
||||
#define READ_SRAM 0x03
|
||||
|
||||
Reference in New Issue
Block a user