mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-04-25 03:02:49 +02:00
Abort compilation if fgetln cannot be wrapped
This commit is contained in:
parent
28585a58bd
commit
94fe901eda
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright © 2005 Hector Garcia Alvarez
|
* Copyright © 2005 Hector Garcia Alvarez
|
||||||
* Copyright © 2005, 2008, 2009 Guillem Jover
|
* Copyright © 2005, 2008, 2009, 2011 Guillem Jover
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
@ -48,5 +48,7 @@ fgetln(FILE *stream, size_t *len)
|
|||||||
return line;
|
return line;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
#error "Function fgetln() needs to be ported."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user