Commit e4f35c0c97b8abf125424d22000b3fd6934a43fa
1 parent
88a97d6f
Exists in
master
and in
1 other branch
More adequated vertex_id_t to use in windows 64
Showing
1 changed file
with
6 additions
and
1 deletions
Show diff stats
invesalius/data/cy_my_types.pxd
| @@ -13,4 +13,9 @@ ctypedef np.uint8_t mask_t | @@ -13,4 +13,9 @@ ctypedef np.uint8_t mask_t | ||
| 13 | 13 | ||
| 14 | ctypedef np.float32_t vertex_t | 14 | ctypedef np.float32_t vertex_t |
| 15 | ctypedef np.float32_t normal_t | 15 | ctypedef np.float32_t normal_t |
| 16 | -ctypedef np.int_t vertex_id_t | 16 | + |
| 17 | +# To compile in windows 64 | ||
| 18 | +IF UNAME_MACHINE == 'AMD64': | ||
| 19 | + ctypedef np.int64_t vertex_id_t | ||
| 20 | +ELSE: | ||
| 21 | + ctypedef np.int_t vertex_id_t |