diff options
author | djm <devnull@localhost> | 2006-08-08 02:34:02 +0000 |
---|---|---|
committer | djm <devnull@localhost> | 2006-08-08 02:34:02 +0000 |
commit | ffeb7a6ef295f1ed4b0d9988855acd602410fde9 (patch) | |
tree | 6532f6e5f5542f6779498f47ab51e0ece03e25a3 /bcrypt/bcrypt.c | |
parent | 08f7132af5c94eaababc9811afb2a90c9c9e2bf8 (diff) | |
download | py-bcrypt-ffeb7a6ef295f1ed4b0d9988855acd602410fde9.tar.gz |
- (djm) Add support for Win32
Diffstat (limited to 'bcrypt/bcrypt.c')
-rw-r--r-- | bcrypt/bcrypt.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bcrypt/bcrypt.c b/bcrypt/bcrypt.c index 5f12013..30d48aa 100644 --- a/bcrypt/bcrypt.c +++ b/bcrypt/bcrypt.c @@ -49,8 +49,13 @@ #include <stdlib.h> #include <sys/types.h> #include <string.h> + #include "pybc_blf.h" +#if defined(_MSC_VER) +#define snprintf _snprintf +#endif + /* This implementation is adaptable to current computing power. * You can have up to 2^31 rounds which should be enough for some * time to come. |