diff options
author | Marcus Meissner <marcus@jet.franken.de> | 2022-01-07 10:34:04 +0100 |
---|---|---|
committer | Marcus Meissner <marcus@jet.franken.de> | 2022-01-10 09:54:50 +0100 |
commit | 2eba60b62ba42b4dc5e140eb0568d0a8be91caf3 (patch) | |
tree | 943aaca192b8cb4eb38555144e6ee69a7de875ec /libgphoto2_port | |
parent | 613b00785932198ba09d510e2b1aab5aa62e66e4 (diff) | |
download | libgphoto2-2eba60b62ba42b4dc5e140eb0568d0a8be91caf3.tar.gz |
merge a fix from mingw for ssize_t double definition
Diffstat (limited to 'libgphoto2_port')
-rw-r--r-- | libgphoto2_port/gphoto2/gphoto2-port-portability.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libgphoto2_port/gphoto2/gphoto2-port-portability.h b/libgphoto2_port/gphoto2/gphoto2-port-portability.h index b8b183573..eda812893 100644 --- a/libgphoto2_port/gphoto2/gphoto2-port-portability.h +++ b/libgphoto2_port/gphoto2/gphoto2-port-portability.h @@ -48,7 +48,9 @@ #define __func__ __FUNCTION__ +#ifndef _SSIZE_T_DEFINED typedef SSIZE_T ssize_t; +#endif /* Work-around for readdir() */ typedef struct { |