kopia lustrzana https://github.com/Hamlib/Hamlib
Fix compilation of security libary on mingw
https://github.com/Hamlib/Hamlib/issues/813pull/978/head
rodzic
fb16f22631
commit
9ba2b4502c
|
@ -22,10 +22,11 @@
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <iconv.h>
|
#include <iconv.h>
|
||||||
#include <langinfo.h>
|
//#include <langinfo.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include "password.h"
|
#include "password.h"
|
||||||
|
|
||||||
|
#ifdef NOTWORKING
|
||||||
/*
|
/*
|
||||||
* passwd_to_utf16
|
* passwd_to_utf16
|
||||||
*
|
*
|
||||||
|
@ -82,4 +83,5 @@ int passwd_to_utf16(char *in_passwd,
|
||||||
iconv_close(condesc);
|
iconv_close(condesc);
|
||||||
return (max_length - ic_outbytesleft);
|
return (max_length - ic_outbytesleft);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
|
|
||||||
#define MAX_PASSWD_LEN 1024
|
#define MAX_PASSWD_LEN 1024
|
||||||
|
|
||||||
|
#ifdef NOTWORKING
|
||||||
/*
|
/*
|
||||||
* Function Prototypes
|
* Function Prototypes
|
||||||
*/
|
*/
|
||||||
|
@ -27,5 +28,6 @@ int passwd_to_utf16(char *in_passwd,
|
||||||
int length,
|
int length,
|
||||||
int max_length,
|
int max_length,
|
||||||
char *out_passwd);
|
char *out_passwd);
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* __STRINGCRYPT_PASSWORD_H */
|
#endif /* __STRINGCRYPT_PASSWORD_H */
|
||||||
|
|
Ładowanie…
Reference in New Issue