mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-21 00:21:25 +00:00
Fix build error on windows
This commit is contained in:
parent
5db4d10c86
commit
5f63e1dec5
@ -23,6 +23,14 @@
|
||||
#include <stdexcept>
|
||||
#include <iterator>
|
||||
|
||||
#if defined( _MSC_VER )
|
||||
// ssize_t is a POSIX extension
|
||||
// wx usually defines it on windows as a helper
|
||||
// windows does have SSIZE_T (capital) for the same purpose
|
||||
#include <BaseTsd.h>
|
||||
typedef SSIZE_T ssize_t;
|
||||
#endif
|
||||
|
||||
class BASE_SET
|
||||
{
|
||||
public:
|
||||
|
Loading…
Reference in New Issue
Block a user