summaryrefslogtreecommitdiff
path: root/kerberosV/include
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2013-06-18 18:44:42 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2013-06-18 18:44:42 +0000
commit53186cd0080e4eda96e33ddd1aec2e8988aa799c (patch)
treeec94ee62ff40c53b487e40e2e0737d5292a88d6c /kerberosV/include
parent3ddf316d10b42fc54a5265f59eb41d556b3fd100 (diff)
Fix HAVE___SYNC_ADD_AND_FETCH for sh and sparc(32)
Diffstat (limited to 'kerberosV/include')
-rw-r--r--kerberosV/include/config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kerberosV/include/config.h b/kerberosV/include/config.h
index 03fbb416297..81e0fa3868d 100644
--- a/kerberosV/include/config.h
+++ b/kerberosV/include/config.h
@@ -1292,7 +1292,7 @@ static /**/const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg }
#define HAVE___PROGNAME 1
/* have __sync_add_and_fetch */
-#if defined(__OpenBSD__) && ((defined(__GNUC__) && __GNUC__ < 4) || defined(__arm__) || defined(__hppa__) || defined(__mips__))
+#if defined(__OpenBSD__) && ((defined(__GNUC__) && __GNUC__ < 4) || defined(__arm__) || defined(__hppa__) || defined(__mips__) || defined(__sh__) || (defined(__sparc__) && !defined(__sparc64__)))
#undef HAVE___SYNC_ADD_AND_FETCH
#else
#define HAVE___SYNC_ADD_AND_FETCH 1