mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-04 05:53:05 +08:00
Fixing MSVC build by adding appropriate typedefs for uint16_t
This commit is contained in:
@@ -12,6 +12,11 @@
|
||||
#include <stdint.h>
|
||||
#elif defined(_MSC_VER)
|
||||
#define inline __inline
|
||||
#if (_MSC_VER < 1300)
|
||||
typedef unsigned short uint16_t;
|
||||
#else
|
||||
typedef unsigned __int16 uint16_t;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user