Package: libpaper
Version: 1.1.23+nmu2
Tags: patch

__STDC__ may not be defined, so attempting to use its value in those cases
may cause build failures.  Fix this by just checking whether __STDC__ is
defined or not, which according to GCC documentation should be enough to
detect whether function prototypes are available or not.

Index: libpaper-1.1.23+nmu2/lib/paper.h
===================================================================
--- libpaper-1.1.23+nmu2.orig/lib/paper.h       1996-09-24 08:16:07.000000000 
+0100
+++ libpaper-1.1.23+nmu2/lib/paper.h    2010-04-23 11:16:30.562907882 +0100
@@ -22,7 +22,7 @@
  *
  */
 
-#if __STDC__ - 0 == 0
+#if !defined(__STDC__)
 
 #define __PAPER_CONST
 #define __PAPER_PROTO(p)       ()



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to