diff options
author | Damien Miller <djm@mindrot.org> | 2013-07-27 21:51:05 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2013-07-27 21:51:05 +1000 |
commit | 1ef19289e4cdcc56b475788c5729b679f40c445d (patch) | |
tree | 9baa2b225cfe5a6d6e3f4e0949cb460eeb07e113 | |
parent | 12e32c863c46142447988bbe39b8a69e65683833 (diff) | |
download | py-bcrypt-1ef19289e4cdcc56b475788c5729b679f40c445d.tar.gz |
apparently windows lacks strdup too; issue#3
-rw-r--r-- | bcrypt/bcrypt_python.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bcrypt/bcrypt_python.c b/bcrypt/bcrypt_python.c index 96ddfd1..35147c0 100644 --- a/bcrypt/bcrypt_python.c +++ b/bcrypt/bcrypt_python.c @@ -21,6 +21,7 @@ typedef unsigned __int8 u_int8_t; typedef unsigned __int16 u_int16_t; typedef unsigned __int32 u_int32_t; #define bzero(s,n) memset(s, '\0', n) +#define strdup _strdup #endif /* $Id$ */ |