X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=pref.h.orig;h=f17dd334a508ace00b52f6198b08c9a3ca004e06;hb=4de79b34b329d1da6cdeb145993d3efd911e2967;hp=2193c6b4082b1fcbf340b8161fd0e5be07d02ae2;hpb=1a5f49c70a1bdc19d0c12a617d54013aa7118b4a;p=pspp-builds.git diff --git a/pref.h.orig b/pref.h.orig index 2193c6b4..f17dd334 100644 --- a/pref.h.orig +++ b/pref.h.orig @@ -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 @@ -54,19 +57,6 @@ #define MALLOC_LIKE #endif -/* Internationalization. */ -#include - -#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. */ /* Directory separator and path delimiter for this OS. */