diff options
Diffstat (limited to 'common/sysutils.h')
-rw-r--r-- | common/sysutils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/sysutils.h b/common/sysutils.h index e34fff72f..dac2d9244 100644 --- a/common/sysutils.h +++ b/common/sysutils.h @@ -44,12 +44,14 @@ typedef void *gnupg_fd_t; # define FD2INT(h) ((unsigned int)(h)) # endif #define FD_DBG(h) ((int)(intptr_t)(h)) +#define FD2NUM(h) ((int)(intptr_t)(h)) #else typedef int gnupg_fd_t; #define GNUPG_INVALID_FD (-1) #define INT2FD(s) (s) #define FD2INT(h) (h) #define FD_DBG(h) (h) +#define FD2NUM(h) (h) #endif #ifdef HAVE_STAT |