]> www.ginac.de Git - cln.git/blobdiff - autoconf/floatparam.c
Revert "Convert complex numbers to real numbers if imaginary part is floating-point...
[cln.git] / autoconf / floatparam.c
index 195a69847ae1450a4a30f7e8c5f11c4fa944a108..66b4d6122dac34628bfd23431d61ac5bfee985fd 100644 (file)
@@ -5,11 +5,6 @@
 
 #include <stdio.h>
 
-#if !(defined(__STDC__) || defined(__cplusplus))
-/* Only for use in function parameter lists and as function return type. */
-#define void
-#endif
-
 typedef int boolean;
 #define TRUE  1
 #define FALSE 0
@@ -119,6 +114,6 @@ int main()
 #endif
   flipped_double();
 
-  if (ferror(stdout)) return 1;
+  if (ferror(stdout) || fclose(stdout)) return 1;
   return 0;
 }