mirror of
https://github.com/Hamlib/Hamlib.git
synced 2024-09-21 02:17:21 +00:00
Fix compilation of security libary on mingw
https://github.com/Hamlib/Hamlib/issues/813
This commit is contained in:
parent
fb16f22631
commit
9ba2b4502c
@ -22,10 +22,11 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <iconv.h>
|
||||
#include <langinfo.h>
|
||||
//#include <langinfo.h>
|
||||
#include <errno.h>
|
||||
#include "password.h"
|
||||
|
||||
#ifdef NOTWORKING
|
||||
/*
|
||||
* passwd_to_utf16
|
||||
*
|
||||
@ -82,4 +83,5 @@ int passwd_to_utf16(char *in_passwd,
|
||||
iconv_close(condesc);
|
||||
return (max_length - ic_outbytesleft);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -20,6 +20,7 @@
|
||||
|
||||
#define MAX_PASSWD_LEN 1024
|
||||
|
||||
#ifdef NOTWORKING
|
||||
/*
|
||||
* Function Prototypes
|
||||
*/
|
||||
@ -27,5 +28,6 @@ int passwd_to_utf16(char *in_passwd,
|
||||
int length,
|
||||
int max_length,
|
||||
char *out_passwd);
|
||||
#endif
|
||||
|
||||
#endif /* __STRINGCRYPT_PASSWORD_H */
|
||||
|
Loading…
Reference in New Issue
Block a user