]> git.ipfire.org Git - thirdparty/libbsd.git/commitdiff
Abort compilation if fgetln cannot be wrapped
authorGuillem Jover <guillem@hadrons.org>
Sat, 14 May 2011 16:12:48 +0000 (18:12 +0200)
committerGuillem Jover <guillem@hadrons.org>
Mon, 16 May 2011 11:23:18 +0000 (13:23 +0200)
src/fgetln.c

index 9ccc1b925b4977407595d56973124b94be727957..d805ee16fca23d221ab095b72441e2110c57e6e2 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * 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
  * modification, are permitted provided that the following conditions
@@ -48,5 +48,7 @@ fgetln(FILE *stream, size_t *len)
                return line;
        }
 }
+#else
+#error "Function fgetln() needs to be ported."
 #endif