Fix compilation of security libary on mingw

https://github.com/Hamlib/Hamlib/issues/813
pull/978/head
Mike Black W9MDB 2022-02-24 17:28:55 -06:00
rodzic fb16f22631
commit 9ba2b4502c
2 zmienionych plików z 5 dodań i 1 usunięć

Wyświetl plik

@ -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

Wyświetl plik

@ -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 */