X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=pref.h.orig;h=f17dd334a508ace00b52f6198b08c9a3ca004e06;hb=8873211f20e46de0c5ea6ad94fc85b76ec2e9b39;hp=2193c6b4082b1fcbf340b8161fd0e5be07d02ae2;hpb=05e356b2a3087e819ef3b5388e29c822f41502e1;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. */