Fix a build error on haiku in ini.c
This commit is contained in:
@@ -348,7 +348,7 @@ ini_read(const char *fn)
|
|||||||
while (1) {
|
while (1) {
|
||||||
memset(buff, 0x00, sizeof(buff));
|
memset(buff, 0x00, sizeof(buff));
|
||||||
#ifdef __HAIKU__
|
#ifdef __HAIKU__
|
||||||
ini_fgetws(buff, sizeof_w(buff), f);
|
ini_fgetws(buff, sizeof_w(buff), fp);
|
||||||
#else
|
#else
|
||||||
(void) !fgetws(buff, sizeof_w(buff), fp);
|
(void) !fgetws(buff, sizeof_w(buff), fp);
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user