pspp-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pspp-cvs] Changes to pspp/pref.h.orig


From: Ben Pfaff
Subject: [Pspp-cvs] Changes to pspp/pref.h.orig
Date: Sun, 31 Jul 2005 17:42:51 -0400

Index: pspp/pref.h.orig
diff -u pspp/pref.h.orig:1.8 pspp/pref.h.orig:1.9
--- pspp/pref.h.orig:1.8        Wed Apr 13 10:09:59 2005
+++ pspp/pref.h.orig    Sun Jul 31 21:42:47 2005
@@ -38,6 +38,9 @@
    declarations on whether gcc is in use. */
 #if __GNUC__ > 1
 #define ATTRIBUTE(X) __attribute__ (X)
+
+/* Only necessary because of a wart in gnulib's xalloc.h. */
+#define __attribute__(X) __attribute__ (X)
 #else
 #define ATTRIBUTE(X)
 #endif
@@ -53,19 +56,6 @@
 #else
 #define MALLOC_LIKE
 #endif
-
-/* Internationalization. */
-#include <libintl.h>
-
-#if !ENABLE_NLS
-/* If we don't do this then gettext() still monkeys with the
-   string, keeping gcc from checking printf() format types. */
-#undef gettext
-#define gettext(STRING) STRING
-#endif
-
-#define _(STRING) gettext(STRING)
-#define N_(STRING) STRING
 
 /* Filesystems. */
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]