summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/getconf/progenv.gperf4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/getconf/progenv.gperf b/usr.bin/getconf/progenv.gperf
index 4810553..20b8fd8 100644
--- a/usr.bin/getconf/progenv.gperf
+++ b/usr.bin/getconf/progenv.gperf
@@ -30,11 +30,11 @@ static const struct map *in_word_set(const char *str);
* be updated. (We cheat here and define the supported environments
* statically.)
*/
-#if defined(__sparc64__) || defined(__amd64__)
+#ifdef __LP64__
#define have_LP64_OFF64 NULL
#endif
-#if defined(__i386__) || defined(__powerpc__)
+#ifdef __ILP32__
#define have_ILP32_OFFBIG NULL
#endif
OpenPOWER on IntegriCloud